File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff 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 {
@@ -41,7 +41,7 @@ export const notificationService = {
4141 }
4242 ) ;
4343
44- return res . data . data . notificationCount ;
44+ return res . data . data . notNoticeNotificationCount ;
4545 } ,
4646 async createNotification ( {
4747 type,
@@ -141,7 +141,7 @@ type findByActionArgs = {
141141} ;
142142
143143type NotificationCountResponse = {
144- notificationCount : number ;
144+ notNoticeNotificationCount : number ;
145145} ;
146146
147147type NotificationActionInput = {
You can’t perform that action at this time.
0 commit comments