diff options
| author | 2018-03-29 16:11:17 +0100 | |
|---|---|---|
| committer | 2018-03-29 16:11:17 +0100 | |
| commit | 67618068683037b7529ee14e2a17a0ba23d75e26 (patch) | |
| tree | 32e5e9ff51821334541425f44e0fef4d0734747b /pysite/views/api/bot | |
| parent | Fix OAuth unit test (diff) | |
Fix up route names
Diffstat (limited to 'pysite/views/api/bot')
| -rw-r--r-- | pysite/views/api/bot/tags.py | 2 | ||||
| -rw-r--r-- | pysite/views/api/bot/user.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pysite/views/api/bot/tags.py b/pysite/views/api/bot/tags.py index 241f7686..6bedac7f 100644 --- a/pysite/views/api/bot/tags.py +++ b/pysite/views/api/bot/tags.py @@ -30,7 +30,7 @@ DELETE_SCHEMA = Schema([ class TagsView(APIView, DBMixin): path = "/tags" - name = "tags" + name = "api.bot.tags" table_name = "tags" table_primary_key = "tag_name" diff --git a/pysite/views/api/bot/user.py b/pysite/views/api/bot/user.py index c9686f56..75757ade 100644 --- a/pysite/views/api/bot/user.py +++ b/pysite/views/api/bot/user.py @@ -23,7 +23,7 @@ REQUIRED_KEYS = [ class UserView(APIView, DBMixin): path = "/user" - name = "user" + name = "api.bot.user" table_name = "users" table_primary_key = "user_id" |