From ec7b3f835078e166c1646bd30be2887a3a9c23ec Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 2 May 2024 15:02:05 -0500 Subject: [PATCH] followController: manually set `following: true` in the response --- src/controllers/api/accounts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controllers/api/accounts.ts b/src/controllers/api/accounts.ts index 473dd63f..bdcd1a0d 100644 --- a/src/controllers/api/accounts.ts +++ b/src/controllers/api/accounts.ts @@ -240,6 +240,8 @@ const followController: AppController = async (c) => { ); const relationship = await renderRelationship(sourcePubkey, targetPubkey); + relationship.following = true; + return c.json(relationship); };