Skip to content

Commit d757680

Browse files
committed
fix: 네이밍 변경으로 인한 어드민 알림 오류 수정
1 parent 4b11aa5 commit d757680

File tree

1 file changed

+2
-2
lines changed
  • src/app/mobile/admin/notification

1 file changed

+2
-2
lines changed

src/app/mobile/admin/notification/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { elapsedTime } from '@/utils/elapsedTime';
88
import { NotificationProps } from '@/types/notificationType';
99
import {
1010
adminNotificationGet,
11-
readNotificationPost,
11+
readNotificationPatch,
1212
} from '@/services/notification';
1313

1414
type AdminNotificationType = NotificationProps;
@@ -28,7 +28,7 @@ export default function Notification() {
2828
}, []);
2929

3030
const handleReadNotification = async (notificationId: number) => {
31-
await readNotificationPost(notificationId);
31+
await readNotificationPatch(notificationId);
3232
};
3333

3434
return (

0 commit comments

Comments
 (0)