1
0
Fork 0
mirror of https://github.com/zhaofengli/attic.git synced 2025-03-13 12:19:15 +00:00

fix null insertion in chunkref table

This commit is contained in:
Charlotte 🦝 Delenk 2023-01-16 14:27:48 +01:00
parent 70ae61b591
commit c2d1a98e3d
No known key found for this signature in database
GPG key ID: AB2BD8DAF2E37122

View file

@ -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)