From 90246bb3a8a1e4f0aafc108216b70d7ca8b7cf3c Mon Sep 17 00:00:00 2001 From: Methapon2001 <61303214+Methapon2001@users.noreply.github.com> Date: Wed, 5 Mar 2025 17:42:10 +0700 Subject: [PATCH] fix: wrong endpoint path --- src/controllers/00-notification-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/00-notification-controller.ts b/src/controllers/00-notification-controller.ts index 361c5de..8a953af 100644 --- a/src/controllers/00-notification-controller.ts +++ b/src/controllers/00-notification-controller.ts @@ -104,7 +104,7 @@ export class NotificationController extends Controller { return record; } - @Post("notification/mark-read") + @Post("mark-read") @Security("keycloak") async markRead(@Request() req: RequestWithUser, @Body() body?: { id: string[] }) { const record = await prisma.notification.findMany({