mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-01 09:40:28 +08:00
Remove delegate names from identity doc
We are working on other mechanisms to help identify keys, and this is just redundant. Also update some of the CLI examples to create a canonical example for documentation. Signed-off-by: Alexis Sellier <alexis@radicle.xyz>
This commit is contained in:
@@ -40,7 +40,7 @@ async fn delegates_projects_handler(
|
||||
let Ok((_, head)) = repo.head() else { return None };
|
||||
let Ok(Doc { payload, delegates, .. }) = repo.project_of(ctx.profile.id()) else { return None };
|
||||
|
||||
if !delegates.iter().any(|d| d.id == delegate) {
|
||||
if !delegates.iter().any(|d| *d == delegate) {
|
||||
return None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user