From 6ed02306467e0df4e2c20722de7b965b016e4320 Mon Sep 17 00:00:00 2001 From: Fintan Halpenny Date: Thu, 30 Nov 2023 17:27:32 +0000 Subject: [PATCH] radicle: rename Issue::assigned -> Issue::assignees Align the naming with the field itself and Patch::assignees. Signed-off-by: Fintan Halpenny X-Clacks-Overhead: GNU Terry Pratchett --- radicle-httpd/src/api/json.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-httpd/src/api/json.rs b/radicle-httpd/src/api/json.rs index 318afba3f..995f22b85 100644 --- a/radicle-httpd/src/api/json.rs +++ b/radicle-httpd/src/api/json.rs @@ -105,7 +105,7 @@ pub(crate) fn issue(id: IssueId, issue: Issue, aliases: &impl AliasStore) -> Val "author": author(&issue.author(), aliases.alias(issue.author().id())), "title": issue.title(), "state": issue.state(), - "assignees": issue.assigned().collect::>(), + "assignees": issue.assignees().collect::>(), "discussion": issue .comments() .map(|(id, comment)| Comment::new(id, comment, aliases))