Skip to content

Commit d0afdb9

Browse files
committed
fix: notification return
1 parent ffa5cef commit d0afdb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/services/notificationService.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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

143143
type NotificationCountResponse = {
144-
notificationCount: number;
144+
notNoticeNotificationCount: number;
145145
};
146146

147147
type NotificationActionInput = {

0 commit comments

Comments
 (0)