diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-10-03 13:18:47 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-10-03 13:18:47 -0700 |
| commit | 4da231aeb5bf3ee0296fb8626dae3ac99893a158 (patch) | |
| tree | e952d79fe1c6f2ef6b7f65ac43b409ec4a7474b9 /middleware/src/app/api/notifications/get | |
| parent | 78aa1512446072fdec94c86360c9aee3ea932db1 (diff) | |
implement api call to save topic for given fcm token
Diffstat (limited to 'middleware/src/app/api/notifications/get')
| -rw-r--r-- | middleware/src/app/api/notifications/get/route.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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=<topic> +// /api/notification/get?topic=<topic> export async function GET(req: Request) { const { searchParams } = new URL(req.url); const topic = searchParams.get("topic"); |
