mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
followController: manually set following: true in the response
This commit is contained in:
parent
3d70edfb39
commit
ec7b3f8350
1 changed files with 2 additions and 0 deletions
|
|
@ -240,6 +240,8 @@ const followController: AppController = async (c) => {
|
|||
);
|
||||
|
||||
const relationship = await renderRelationship(sourcePubkey, targetPubkey);
|
||||
relationship.following = true;
|
||||
|
||||
return c.json(relationship);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue