mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-23 20:37:42 +00:00
add update all notification API
This commit is contained in:
@@ -1460,6 +1460,11 @@ class SeafileAPI {
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
||||
updateAllNotifications() {
|
||||
const url = this.server + '/api/v2.1/all-notifications/';
|
||||
return this.req.put(url);
|
||||
}
|
||||
|
||||
listNotifications(page, perPage) {
|
||||
const url = this.server + '/api/v2.1/notifications/';
|
||||
let params = {
|
||||
|
Reference in New Issue
Block a user