followController: manually set `following: true` in the response

This commit is contained in:
Alex Gleason 2024-05-02 15:02:05 -05:00
parent 3d70edfb39
commit ec7b3f8350
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 2 additions and 0 deletions

View File

@ -240,6 +240,8 @@ const followController: AppController = async (c) => {
);
const relationship = await renderRelationship(sourcePubkey, targetPubkey);
relationship.following = true;
return c.json(relationship);
};