This commit is contained in:
Matthias 2021-11-18 01:48:03 +01:00
parent 4140517060
commit bff4623a15
No known key found for this signature in database
GPG Key ID: F50EF5741D33E076

View File

@ -68,7 +68,7 @@ class PluginInstall(generics.CreateAPIView):
serializer = self.get_serializer(data=request.data)
serializer.is_valid(raise_exception=True)
result = self.perform_create(serializer)
result['data'] = serializer.data
result['input'] = serializer.data
headers = self.get_success_headers(serializer.data)
return Response(result, status=status.HTTP_201_CREATED, headers=headers)