fix: wrong endpoint path
All checks were successful
Spell Check / Spell Check with Typos (push) Successful in 6s

This commit is contained in:
Methapon2001 2025-03-05 17:42:10 +07:00
parent 615ba23e47
commit 90246bb3a8

View file

@ -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({