mirror of
https://github.com/etesync/server
synced 2024-11-15 21:38:57 +00:00
Add a comment.
This commit is contained in:
parent
687bf9924b
commit
19b93265d7
@ -184,6 +184,7 @@ class CollectionItemViewSet(BaseViewSet):
|
||||
|
||||
@action_decorator(detail=True, methods=['GET'])
|
||||
def revision(self, request, collection_uid=None, uid=None):
|
||||
# FIXME: need pagination support
|
||||
col = get_object_or_404(self.get_collection_queryset(Collection.objects), uid=collection_uid)
|
||||
col_it = get_object_or_404(col.items, uid=uid)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user