diff options
author | 2019-05-03 23:04:45 +0200 | |
---|---|---|
committer | 2019-05-03 23:04:45 +0200 | |
commit | 394dc99657f8c6ec60b7ab8b7f0448253ba44d5b (patch) | |
tree | 253a5feeb28ef5b9c86b060fa76b4e653be0d71c | |
parent | Explicitely using exists() and changing endpoint back to end (diff) | |
parent | Update pydis_site/apps/api/viewsets/bot/nomination.py (diff) |
Merge branch 'django-api-bot-nomination-changes' of github.com:python-discord/site into django-api-bot-nomination-changes
-rw-r--r-- | pydis_site/apps/api/viewsets/bot/nomination.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/api/viewsets/bot/nomination.py b/pydis_site/apps/api/viewsets/bot/nomination.py index 26b43f0f..e8d50728 100644 --- a/pydis_site/apps/api/viewsets/bot/nomination.py +++ b/pydis_site/apps/api/viewsets/bot/nomination.py @@ -69,7 +69,7 @@ class NominationViewSet(CreateModelMixin, RetrieveModelMixin, ListModelMixin, Ge ### Status codes - 200: returned on succes - - 404: returned if an nomination with the given `id` could not be found + - 404: returned if a nomination with the given `id` could not be found ### POST /bot/nominations Create a new, active nomination returns the created nominations. |