diff options
author | 2019-02-18 20:52:50 +0100 | |
---|---|---|
committer | 2019-02-18 20:52:50 +0100 | |
commit | 89f633c17fe0f8afcb12bc1e63b5bf3cd71d709b (patch) | |
tree | dcc64896706e2c769f4539bd1a7bf04717c58069 /api/viewsets.py | |
parent | Add 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.py | 2 |
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. """ |