From b22c152ed98b99f54442f5085ac0a0d0ef2ff87f Mon Sep 17 00:00:00 2001 From: Alexis Sellier Date: Sun, 27 Nov 2022 12:54:08 +0100 Subject: [PATCH] cob: Move clock out of `Issue` The clock shouldn't be part of the issue state, but rather the local "actor" state. Signed-off-by: Alexis Sellier --- radicle-httpd/src/api/v1/projects.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/radicle-httpd/src/api/v1/projects.rs b/radicle-httpd/src/api/v1/projects.rs index 04b4cd210..6edcb001f 100644 --- a/radicle-httpd/src/api/v1/projects.rs +++ b/radicle-httpd/src/api/v1/projects.rs @@ -328,7 +328,7 @@ async fn issues_handler( .all()? .into_iter() .filter_map(|r| r.ok()) - .map(|(id, issue)| { + .map(|(id, issue, _)| { json!({ "id": id, "author": issue.author(),