From 4da231aeb5bf3ee0296fb8626dae3ac99893a158 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 3 Oct 2025 13:18:47 -0700 Subject: implement api call to save topic for given fcm token --- middleware/src/app/api/notifications/get/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'middleware/src/app/api/notifications/get') diff --git a/middleware/src/app/api/notifications/get/route.ts b/middleware/src/app/api/notifications/get/route.ts index 344e41b..6150822 100644 --- a/middleware/src/app/api/notifications/get/route.ts +++ b/middleware/src/app/api/notifications/get/route.ts @@ -7,7 +7,7 @@ const redis = new Redis({ token: process.env.KV_REST_API_TOKEN!, }); -// /api/fcm/list?topic= +// /api/notification/get?topic= export async function GET(req: Request) { const { searchParams } = new URL(req.url); const topic = searchParams.get("topic"); -- cgit v1.2.3