mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
client/general: use resource versioning
This commit is contained in:
@ -56,9 +56,9 @@ class Api extends events.EventTarget {
|
||||
return this._process(url, request.put, data, files, options);
|
||||
}
|
||||
|
||||
delete(url, options) {
|
||||
delete(url, data, options) {
|
||||
this.cache = {};
|
||||
return this._process(url, request.delete, {}, {}, options);
|
||||
return this._process(url, request.delete, data, {}, options);
|
||||
}
|
||||
|
||||
_process(url, requestFactory, data, files, options) {
|
||||
|
Reference in New Issue
Block a user