mirror of
https://github.com/etesync/server
synced 2024-11-26 02:38:15 +00:00
Fix prefetch medium.
This commit is contained in:
parent
f7858a20b7
commit
dcf81aa9ce
@ -55,7 +55,7 @@ class CollectionItemRevisionInOut(BaseModel):
|
||||
with open(chunk_obj.chunkFile.path, "rb") as f:
|
||||
chunks.append((chunk_obj.uid, f.read()))
|
||||
else:
|
||||
chunks.append((chunk_obj.uid,))
|
||||
chunks.append((chunk_obj.uid, None))
|
||||
return cls(uid=obj.uid, meta=bytes(obj.meta), deleted=obj.deleted, chunks=chunks)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user