mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
server+client: update tag category api + fix formatting
This commit is contained in:
@ -78,9 +78,9 @@ class TagCategory extends events.EventTarget {
|
||||
|
||||
let promise = this._origName
|
||||
? api.put(
|
||||
uri.formatApiLink("tag-category", this._origName),
|
||||
detail
|
||||
)
|
||||
uri.formatApiLink("tag-category", this._origName),
|
||||
detail
|
||||
)
|
||||
: api.post(uri.formatApiLink("tag-categories"), detail);
|
||||
|
||||
return promise.then((response) => {
|
||||
|
Reference in New Issue
Block a user