diff --git a/frontend/src/components/common/notification.js b/frontend/src/components/common/notification.js index 1ca7f29dc4..8fcdb50206 100644 --- a/frontend/src/components/common/notification.js +++ b/frontend/src/components/common/notification.js @@ -13,7 +13,7 @@ class Notification extends React.Component { } componentDidMount() { - seafileAPI.getUnseenCount().then(res => { + seafileAPI.getUnseenNotificationCount().then(res => { this.setState({unseenCount: res.data.unseen_count}); }); }