aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-11-28 15:03:20 +0100
committerGitHub Enterprise <[email protected]>2024-11-28 15:03:20 +0100
commite7c55832e081a4044e2fbcd40bd131da3e539e52 (patch)
treee166446b0b6ea6039cb1ce79571be90d2e146bb2 /src/zenserver
parentFixed release mirror on new release (#243) (diff)
downloadzen-e7c55832e081a4044e2fbcd40bd131da3e539e52.tar.xz
zen-e7c55832e081a4044e2fbcd40bd131da3e539e52.zip
set content type correctly for getchunkrange (#241)
Diffstat (limited to 'src/zenserver')
-rw-r--r--src/zenserver/projectstore/projectstore.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/zenserver/projectstore/projectstore.cpp b/src/zenserver/projectstore/projectstore.cpp
index 4de812f7e..6f669f68e 100644
--- a/src/zenserver/projectstore/projectstore.cpp
+++ b/src/zenserver/projectstore/projectstore.cpp
@@ -4355,12 +4355,12 @@ ProjectStore::GetChunkRange(const std::string_view ProjectId,
{
if (AcceptType == ZenContentType::kBinary)
{
- OutChunk = Compressed.DecompressToComposite();
+ OutChunk = Compressed.DecompressToComposite();
+ OutContentType = ZenContentType::kBinary;
}
else
{
- OutChunk = Compressed.GetCompressed();
- OutContentType = ZenContentType::kCompressedBinary;
+ OutChunk = Compressed.GetCompressed();
}
}
}