Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Remove delegate names from identity doc
Alexis Sellier committed 3 years ago
commit 864f0022e24d03fa1d716aef4fe40a9efe9e4e76
parent b22c152ed98b99f54442f5085ac0a0d0ef2ff87f
1 file changed +1 -1
modified radicle-httpd/src/api/v1/delegates.rs
@@ -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;
            }