Compare commits

...

2 commits

Author SHA1 Message Date
renovate[bot]
46285e2c00
Merge 369fd0e6df into 4e5b87d0cd 2025-04-05 22:37:38 +03:30
June Clementine Strawberry
4e5b87d0cd
add missing condition for signatures upload failures
Some checks failed
CI and Artifacts / Test (push) Has been cancelled
CI and Artifacts / Build (push) Has been cancelled
CI and Artifacts / variables (push) Has been cancelled
Documentation and GitHub Pages / Documentation and GitHub Pages (push) Has been cancelled
CI and Artifacts / Docker publish (push) Has been cancelled
Signed-off-by: June Clementine Strawberry <june@3.dog>
2025-04-04 11:34:31 -04:00

View file

@ -380,7 +380,9 @@ pub(crate) async fn upload_signatures_route(
}
}
failures.insert(user_id.to_owned(), failure_reasons.clone());
if !failure_reasons.is_empty() {
failures.insert(user_id.to_owned(), failure_reasons.clone());
}
}
Ok(upload_signatures::v3::Response { failures })