api: change ExpectedChecksums to not be a reference

This commit is contained in:
Alex Auvolat
2025-05-09 15:14:30 +02:00
parent abe0546ab0
commit 768794daae
3 changed files with 10 additions and 11 deletions
+1 -1
View File
@@ -262,7 +262,7 @@ pub async fn handle_post_object(
encryption,
StreamLimiter::new(stream, conditions.content_length),
&key,
ChecksumMode::Verify(&expected_checksums),
ChecksumMode::Verify(expected_checksums),
)
.await?;