We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b11aa5 commit d757680Copy full SHA for d757680
src/app/mobile/admin/notification/page.tsx
@@ -8,7 +8,7 @@ import { elapsedTime } from '@/utils/elapsedTime';
8
import { NotificationProps } from '@/types/notificationType';
9
import {
10
adminNotificationGet,
11
- readNotificationPost,
+ readNotificationPatch,
12
} from '@/services/notification';
13
14
type AdminNotificationType = NotificationProps;
@@ -28,7 +28,7 @@ export default function Notification() {
28
}, []);
29
30
const handleReadNotification = async (notificationId: number) => {
31
- await readNotificationPost(notificationId);
+ await readNotificationPatch(notificationId);
32
};
33
34
return (
0 commit comments