admin: fix schema generation warning

Signed-off-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Jens Langhammer 2023-02-11 21:07:38 +01:00
parent 10b9878f03
commit 8850446bc2
No known key found for this signature in database

View file

@ -97,6 +97,7 @@ class SystemView(APIView):
permission_classes = [IsAdminUser]
pagination_class = None
filter_backends = []
serializer_class = SystemSerializer
@extend_schema(responses={200: SystemSerializer(many=False)})
def get(self, request: Request) -> Response: