mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-04 08:28:11 +00:00
update call api
This commit is contained in:
@@ -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});
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user