aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/viewsets
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-02-11 13:32:46 +0200
committerGravatar mbaruh <[email protected]>2023-02-11 13:32:46 +0200
commit4eecda92e16ffe97fabb5d2e07790357140f7bbb (patch)
tree667c430024b972abef860cb9ea5dae25bce5cac1 /pydis_site/apps/api/viewsets
parentUpdate viewsets, fix linting (diff)
Fix documentation and import
Co-authored-by: wookie184 <[email protected]>
Diffstat (limited to 'pydis_site/apps/api/viewsets')
-rw-r--r--pydis_site/apps/api/viewsets/bot/filters.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pydis_site/apps/api/viewsets/bot/filters.py b/pydis_site/apps/api/viewsets/bot/filters.py
index 8e677612..c84da909 100644
--- a/pydis_site/apps/api/viewsets/bot/filters.py
+++ b/pydis_site/apps/api/viewsets/bot/filters.py
@@ -311,7 +311,7 @@ class FilterListViewSet(ModelViewSet):
#### Status codes
- 204: returned on success
- - 404: if a tag with the given `id` does not exist
+ - 404: if a FilterList with the given `id` does not exist
"""
serializer_class = FilterListSerializer
@@ -492,7 +492,7 @@ class FilterViewSet(ModelViewSet):
#### Status codes
- 204: returned on success
- - 404: if a tag with the given `id` does not exist
+ - 404: if a Filter with the given `id` does not exist
"""
serializer_class = FilterSerializer