From e8cc3f911df4b057b40d813ab62bcdef0fd38318 Mon Sep 17 00:00:00 2001 From: "P. Reis" Date: Thu, 11 Jul 2024 19:32:54 -0300 Subject: [PATCH] fix: fill third and forth parameters in tag follow list --- src/controllers/api/accounts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/api/accounts.ts b/src/controllers/api/accounts.ts index ad4802ca..2cb1b7b7 100644 --- a/src/controllers/api/accounts.ts +++ b/src/controllers/api/accounts.ts @@ -321,7 +321,7 @@ const followController: AppController = async (c) => { await updateListEvent( { kinds: [3], authors: [sourcePubkey], limit: 1 }, - (tags) => addTag(tags, ['p', targetPubkey]), + (tags) => addTag(tags, ['p', targetPubkey, '', '']), c, );