1
0
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:
shanshuirenjia
2018-12-25 20:29:52 +08:00
parent f30617ae86
commit 3c0901818c

View File

@@ -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});
});
}