mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-22 20:08:19 +00:00
change dialog style
This commit is contained in:
@@ -304,18 +304,18 @@ class SeafileAPI {
|
||||
}
|
||||
|
||||
deleteGroupInviteLinks(groupID, token) {
|
||||
const url = this.server + '/api/v2.1/groups/' + groupID + '/invite-links/' + token + '/';
|
||||
const url = `${this.server}/api/v2.1/groups/${groupID}/invite-links/${token}/`;
|
||||
return this.req.delete(url);
|
||||
}
|
||||
|
||||
addGroupInviteLinks(groupID) {
|
||||
const url = this.server + '/api/v2.1/groups/' + groupID + '/invite-links/';
|
||||
const url = `${this.server}/api/v2.1/groups/${groupID}/invite-links/`;
|
||||
let formData = new FormData();
|
||||
return this._sendPostRequest(url, formData);
|
||||
}
|
||||
|
||||
getGroupInviteLinks(groupID) {
|
||||
const url = this.server + '/api/v2.1/groups/' + groupID + '/invite-links/';
|
||||
const url = `${this.server}/api/v2.1/groups/${groupID}/invite-links/`;
|
||||
return this.req.get(url);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user