From 78132a14eab6735988abbc724d4c3133b3606f7d Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Wed, 1 Mar 2023 15:40:30 +0100 Subject: [PATCH] cob: Don't require a local fork to exist Before this change, the identity document would be loaded for the COB signer. This meant that a fork would be needed for that signer. After this change, it's no longer necessary, since the identity doc head is computed from available remotes. While making those changes, it was also apparent that some of the identity-related functions had bad names and error types, this was fixed as well. --- radicle-httpd/src/api/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/radicle-httpd/src/api/error.rs b/radicle-httpd/src/api/error.rs index 8f87a62e1..b37f802c1 100644 --- a/radicle-httpd/src/api/error.rs +++ b/radicle-httpd/src/api/error.rs @@ -38,9 +38,9 @@ pub enum Error { #[error(transparent)] CobStore(#[from] radicle::cob::store::Error), - /// Git project error. + /// Identity error. #[error(transparent)] - GitProject(#[from] radicle::storage::git::ProjectError), + Identity(#[from] radicle::identity::IdentityError), /// Project doc error. #[error(transparent)]