Commit 8112c3fa authored by okhin's avatar okhin 🚴

Debug

parent 0dd5e495
Pipeline #842 passed with stages
in 44 seconds
......@@ -14,5 +14,6 @@ class FeedbackViewSet(viewsets.ViewSet):
def create(self, request, campaign_pk=None):
serializer = FeedbackSerializer(data=request.data)
serializer.is_valid()
print(serializer.validated_data)
feedback = Feedback.objects.create(callee=serializer.validated_data.pop('callee'), **serializer.validated_data)
return Response(feedback.id)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment