diff --git a/radicle-httpd/src/api/json.rs b/radicle-httpd/src/api/json.rs index 0902cdaec..ab955e206 100644 --- a/radicle-httpd/src/api/json.rs +++ b/radicle-httpd/src/api/json.rs @@ -213,7 +213,7 @@ fn issue_comment(id: &CommentId, comment: &Comment, aliases: &impl AliasStore) - ).collect::>(), "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(), }) }