aboutsummaryrefslogtreecommitdiffstats
path: root/api/viewsets.py
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-02-18 20:52:50 +0100
committerGravatar Johannes Christ <[email protected]>2019-02-18 20:52:50 +0100
commit89f633c17fe0f8afcb12bc1e63b5bf3cd71d709b (patch)
treedcc64896706e2c769f4539bd1a7bf04717c58069 /api/viewsets.py
parentAdd a new endpoint for updating bot settings. (diff)
Allow retrieval of individual bot settings.
Diffstat (limited to 'api/viewsets.py')
-rw-r--r--api/viewsets.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/viewsets.py b/api/viewsets.py
index 61e93058..17024fe8 100644
--- a/api/viewsets.py
+++ b/api/viewsets.py
@@ -34,7 +34,7 @@ from .serializers import (
)
-class BotSettingViewSet(UpdateModelMixin, GenericViewSet):
+class BotSettingViewSet(RetrieveModelMixin, UpdateModelMixin, GenericViewSet):
"""
View providing update operations on bot setting routes.
"""