Transaction: return 200 rather than 201.

This commit is contained in:
Tom Hacohen 2020-05-19 13:19:25 +03:00
parent f7c66eaadb
commit eeaea6e6ab

View File

@ -261,7 +261,7 @@ class CollectionItemViewSet(BaseViewSet):
ret = {
"data": [collection.stoken for collection in collections],
}
return Response(ret, status=status.HTTP_201_CREATED)
return Response(ret, status=status.HTTP_200_OK)
return Response(
{