aboutsummaryrefslogtreecommitdiffstats
path: root/middleware/src/app/api/notifications/get/route.ts
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-10-03 13:18:47 -0700
committerPinapelz <yukais@pinapelz.com>2025-10-03 13:18:47 -0700
commit4da231aeb5bf3ee0296fb8626dae3ac99893a158 (patch)
treee952d79fe1c6f2ef6b7f65ac43b409ec4a7474b9 /middleware/src/app/api/notifications/get/route.ts
parent78aa1512446072fdec94c86360c9aee3ea932db1 (diff)
implement api call to save topic for given fcm token
Diffstat (limited to 'middleware/src/app/api/notifications/get/route.ts')
-rw-r--r--middleware/src/app/api/notifications/get/route.ts2
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");
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage