Transaction: return 200 rather than 201.
This commit is contained in:
parent
f7c66eaadb
commit
eeaea6e6ab
@ -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(
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user