Skip to content
Snippets Groups Projects
Verified Commit 22d3e07d authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

fix: return serializer.data when updating a Timeslot

parent 01310922
No related branches found
No related tags found
No related merge requests found
Pipeline #6603 passed
...@@ -731,7 +731,7 @@ class APITimeSlotViewSet( ...@@ -731,7 +731,7 @@ class APITimeSlotViewSet(
return Response(serializer.data) return Response(serializer.data)
# ...or nothing if there isn't one # ...or nothing if there isn't one
return Response(status=status.HTTP_200_OK) return Response(serializer.data, status=status.HTTP_200_OK)
return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST) return Response(serializer.errors, status=status.HTTP_400_BAD_REQUEST)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment