mirror of
https://github.com/girlbossceo/conduwuit.git
synced 2025-12-11 09:48:49 -05:00
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
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>
This commit is contained in:
parent
00f7745ec4
commit
4e5b87d0cd
1 changed files with 3 additions and 1 deletions
|
|
@ -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 })
|
Ok(upload_signatures::v3::Response { failures })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue