From 7a17dc772fe67964c1722234407f5acf6c84a03f Mon Sep 17 00:00:00 2001 From: Jon Staab Date: Mon, 30 Dec 2024 09:19:56 -0800 Subject: [PATCH] Fix connect call --- src/app/commands.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/commands.ts b/src/app/commands.ts index 2d63b638..d03c411c 100644 --- a/src/app/commands.ts +++ b/src/app/commands.ts @@ -121,7 +121,7 @@ export const loginWithNip46 = async ({ connectSecret?: string }) => { const broker = Nip46Broker.get({relays, clientSecret, signerPubkey}) - const result = await broker.connect("", connectSecret, NIP46_PERMS) + const result = await broker.connect(signerPubkey, connectSecret, NIP46_PERMS) // TODO: remove ack result if (!["ack", connectSecret].includes(result)) return false