mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-05 00:43:53 +00:00
Update notifications.py
This commit is contained in:
@@ -1460,6 +1460,16 @@ class SeafileAPI {
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
||||
|
||||
listSdocNotifications(page, perPage) {
|
||||
const url = this.server + '/api/v2.1/sdoc-notifications/';
|
||||
let params = {
|
||||
page: page,
|
||||
per_page: perPage
|
||||
};
|
||||
return this.req.get(url, { params: params });
|
||||
}
|
||||
|
||||
updateNotifications() {
|
||||
const url = this.server + '/api/v2.1/notifications/';
|
||||
return this.req.put(url);
|
||||
|
Reference in New Issue
Block a user