mirror of
https://github.com/etesync/server
synced 2024-11-22 08:48:07 +00:00
Add a FIXME.
This commit is contained in:
parent
0a40a04d3b
commit
c3fc00b9d8
@ -175,6 +175,7 @@ class CollectionItemChunkViewSet(viewsets.ViewSet):
|
||||
serializer = self.serializer_class(data=request.data)
|
||||
if serializer.is_valid():
|
||||
try:
|
||||
# FIXME: actually generate the correct order value. Or alternatively have it null at first and only set it when ommitting to a snapshot
|
||||
serializer.save(item=col_it, order='abc')
|
||||
except IntegrityError:
|
||||
content = {'code': 'integrity_error'}
|
||||
|
Loading…
Reference in New Issue
Block a user