From 1d2d497781968d84884751bda3478ca8a603c40c Mon Sep 17 00:00:00 2001 From: amel Date: Fri, 20 Sep 2024 14:37:01 +0800 Subject: [PATCH] fix: read notif --- src/app/api/home/notification/route.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/api/home/notification/route.ts b/src/app/api/home/notification/route.ts index 10e47bf..80213ce 100644 --- a/src/app/api/home/notification/route.ts +++ b/src/app/api/home/notification/route.ts @@ -78,7 +78,7 @@ export async function PUT(request: Request, context: { params: { id: string } }) id: id, }, data: { - isActive: false, + isRead: true, }, });