From b4db35bca16d251bca2090876b7b903a4611492f Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Mon, 22 Jun 2020 17:27:07 +0300 Subject: [PATCH] List APIs: add done to APIs that didn't have it. --- django_etebase/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/django_etebase/views.py b/django_etebase/views.py index 955c49f..0fb6395 100644 --- a/django_etebase/views.py +++ b/django_etebase/views.py @@ -140,6 +140,7 @@ class BaseViewSet(viewsets.ModelViewSet): ret = { 'data': serializer.data, + 'done': True, # we always return all the items, so it's always done } return Response(ret) @@ -449,6 +450,7 @@ class CollectionMemberViewSet(BaseViewSet): ret = { 'data': serializer.data, + 'done': True, # we always return all the items, so it's always done } return Response(ret)