diff options
| author | neobooru | 2020-09-23 13:48:47 +0200 |
|---|---|---|
| committer | neobooru | 2020-09-23 13:48:47 +0200 |
| commit | d2b6ecef4d0434aa6315e20a322991477f084ca8 (patch) | |
| tree | 25ee93693399b50e5dd77ba091882219f8627df6 /client/js | |
| parent | 368372e36def39fe26982760c1e2142baa10e30b (diff) | |
server+client: update tag category api + fix formatting
Diffstat (limited to 'client/js')
| -rw-r--r-- | client/js/models/tag_category.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/client/js/models/tag_category.js b/client/js/models/tag_category.js index cc81f67..1641862 100644 --- a/client/js/models/tag_category.js +++ b/client/js/models/tag_category.js @@ -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) => { |