aboutsummaryrefslogtreecommitdiff
path: root/zenstore
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore')
-rw-r--r--zenstore/cidstore.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenstore/cidstore.cpp b/zenstore/cidstore.cpp
index 55bec817f..01eda4697 100644
--- a/zenstore/cidstore.cpp
+++ b/zenstore/cidstore.cpp
@@ -36,6 +36,8 @@ struct CidStore::Impl
IoBuffer Payload = ChunkData.GetCompressed().Flatten().AsIoBuffer();
IoHash CompressedHash = IoHash::HashBuffer(Payload.Data(), Payload.Size());
+ Payload.SetContentType(ZenContentType::kCompressedBinary);
+
CasStore::InsertResult Result = m_CasStore.InsertChunk(Payload, CompressedHash);
AddCompressedCid(DecompressedId, CompressedHash);