From 1c7e199bf18c439886100c36968443c66ab4ae87 Mon Sep 17 00:00:00 2001 From: dawn <90008@gaze.systems> Date: Thu, 16 Apr 2026 00:21:31 +0300 Subject: [PATCH] [api] make sure cids are serialized as text in listRepos --- src/api/xrpc/list_repos.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/xrpc/list_repos.rs b/src/api/xrpc/list_repos.rs index 949f86b..1c5fa30 100644 --- a/src/api/xrpc/list_repos.rs +++ b/src/api/xrpc/list_repos.rs @@ -52,7 +52,7 @@ pub async fn handle( repos.push(Repo { active: Some(state.active), did: did.clone(), - head: Cid::from(commit_cid), + head: Cid::Str(CowStr::Owned(commit_cid.to_smolstr())), rev: atp_commit.rev, status, extra_data: None, -- 2.51.2