Skip to content

Commit ffa5cef

Browse files
committed
fix: operation name
1 parent 54264fc commit ffa5cef

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/services/notificationService.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ export const notificationService = {
1919
},
2020
async notificationCount(cookies: Cookies) {
2121
const NOTIFICATION_COUNT_QUERY = `
22-
query NotificationCount {
23-
notificationCount
22+
query NotNoticeNotificationCount {
23+
notNoticeNotificationCount
2424
}
2525
`;
2626

@@ -30,7 +30,7 @@ export const notificationService = {
3030
const res = await Axios.post<AxiosResponse<NotificationCountResponse>>(
3131
endpoint,
3232
{
33-
operationName: 'NotificationCount',
33+
operationName: 'NotNoticeNotificationCount',
3434
query: NOTIFICATION_COUNT_QUERY,
3535
},
3636
{

0 commit comments

Comments
 (0)