Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
radicle: rename resolved to is_resolved
Fintan Halpenny committed 2 years ago
commit 67e46952b62a6663ea30dcf109b85cf9058f1133
parent 87077d51555f0a436181773bbfd7dce4a5bfdf64
1 file changed +3 -3
modified radicle-httpd/src/api/json.rs
@@ -213,7 +213,7 @@ fn issue_comment(id: &CommentId, comment: &Comment, aliases: &impl AliasStore) -
        ).collect::<Vec<_>>(),
        "timestamp": comment.timestamp().as_secs(),
        "replyTo": comment.reply_to(),
-
        "resolved": comment.resolved(),
+
        "resolved": comment.is_resolved(),
    })
}

@@ -235,7 +235,7 @@ fn patch_comment(
        "timestamp": comment.timestamp().as_secs(),
        "replyTo": comment.reply_to(),
        "location": comment.location(),
-
        "resolved": comment.resolved(),
+
        "resolved": comment.is_resolved(),
    })
}

@@ -257,7 +257,7 @@ fn review_comment(
        "timestamp": comment.timestamp().as_secs(),
        "replyTo": comment.reply_to(),
        "location": comment.location(),
-
        "resolved": comment.resolved(),
+
        "resolved": comment.is_resolved(),
    })
}