From eeaea6e6aba90e54fa84bb4b5fcc27e43e526cf4 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 19 May 2020 13:19:25 +0300 Subject: [PATCH] Transaction: return 200 rather than 201. --- django_etesync/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_etesync/views.py b/django_etesync/views.py index c905a54..c56878b 100644 --- a/django_etesync/views.py +++ b/django_etesync/views.py @@ -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( {