mirror of
https://github.com/etesync/server
synced 2024-12-28 18:28:07 +00:00
List APIs: add done to APIs that didn't have it.
This commit is contained in:
parent
fcb58f0f4c
commit
b4db35bca1
@ -140,6 +140,7 @@ class BaseViewSet(viewsets.ModelViewSet):
|
|||||||
|
|
||||||
ret = {
|
ret = {
|
||||||
'data': serializer.data,
|
'data': serializer.data,
|
||||||
|
'done': True, # we always return all the items, so it's always done
|
||||||
}
|
}
|
||||||
|
|
||||||
return Response(ret)
|
return Response(ret)
|
||||||
@ -449,6 +450,7 @@ class CollectionMemberViewSet(BaseViewSet):
|
|||||||
|
|
||||||
ret = {
|
ret = {
|
||||||
'data': serializer.data,
|
'data': serializer.data,
|
||||||
|
'done': True, # we always return all the items, so it's always done
|
||||||
}
|
}
|
||||||
|
|
||||||
return Response(ret)
|
return Response(ret)
|
||||||
|
Loading…
Reference in New Issue
Block a user