From c2d1a98e3df16a6c757ea89d2becf28dcd48be71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Mon, 16 Jan 2023 14:27:48 +0100 Subject: [PATCH] fix null insertion in chunkref table --- server/src/api/v1/upload_path.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/server/src/api/v1/upload_path.rs b/server/src/api/v1/upload_path.rs index 558ca96..59719f6 100644 --- a/server/src/api/v1/upload_path.rs +++ b/server/src/api/v1/upload_path.rs @@ -489,6 +489,7 @@ async fn upload_path_new_unchunked( seq: Set(0), chunk_id: Set(Some(chunk.id)), chunk_hash: Set(upload_info.nar_hash.to_typed_base16()), + compression: Set(compression.to_string()), ..Default::default() }) .exec(&txn)