add missing condition for signatures upload failures
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,8 +380,10 @@ pub(crate) async fn upload_signatures_route(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !failure_reasons.is_empty() {
|
||||||
failures.insert(user_id.to_owned(), failure_reasons.clone());
|
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