mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-27 10:14:39 +01:00
followController: manually set following: true in the response
This commit is contained in:
@@ -240,6 +240,8 @@ const followController: AppController = async (c) => {
|
||||
);
|
||||
|
||||
const relationship = await renderRelationship(sourcePubkey, targetPubkey);
|
||||
relationship.following = true;
|
||||
|
||||
return c.json(relationship);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user