1
0
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:
Michael An
2025-02-26 10:10:19 +08:00
parent 67dd7e5eed
commit 47f016e6e9
5 changed files with 14 additions and 23 deletions

View File

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