Add api route for changing sorting prefixes, update default sorting prefixes to include a

This commit is contained in:
advplyr 2023-09-08 12:32:30 -05:00
parent 39b6ede1e9
commit 826963bf00
4 changed files with 134 additions and 10 deletions

View file

@ -297,6 +297,7 @@ class ApiRouter {
this.router.post('/upload', MiscController.handleUpload.bind(this))
this.router.get('/tasks', MiscController.getTasks.bind(this))
this.router.patch('/settings', MiscController.updateServerSettings.bind(this))
this.router.patch('/sorting-prefixes', MiscController.updateSortingPrefixes.bind(this))
this.router.post('/authorize', MiscController.authorize.bind(this))
this.router.get('/tags', MiscController.getAllTags.bind(this))
this.router.post('/tags/rename', MiscController.renameTag.bind(this))