1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-04 21:15:22 +02:00

fix #967 and test error to catch (#979)

* fix #967 and test error to catch

* add admin tests
This commit is contained in:
Hayden 2022-02-13 18:33:25 -09:00 committed by GitHub
parent c617251f4c
commit 14cc541f7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 94 additions and 54 deletions

View file

@ -41,3 +41,12 @@ class RoutesCategory(RoutesOrganizerBase):
class RoutesRecipe(RoutesBase):
base = "/api/recipes"
class RoutesAdminUsers(RoutesBase):
base = "/api/admin/users"
class RoutesUsers(RoutesBase):
base = "/api/users"
self = f"{base}/self"