Radish alpha
r
Radicle terminal user interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Parse assignees on issue creation properly
Erik Kundt committed 2 years ago
commit 7f08d4d72d90c0fc49c53f7b977bfaf2719cd2fa
parent 0325cb57d961fc78343dd2adadf1ed8d25e7467a
1 file changed +1 -1
modified src/cob.rs
@@ -26,7 +26,7 @@ pub fn parse_assignees(input: String) -> Result<Vec<Did>> {
    let mut assignees = vec![];
    if !input.is_empty() {
        for did in input.split(',') {
-
            match Did::from_str(did) {
+
            match Did::from_str(&format!("did:key:{}", did)) {
                Ok(did) => assignees.push(did),
                Err(err) => return Err(anyhow::anyhow!(err).context("Can't parse assignees.")),
            }