diff --git a/src/app/commands.ts b/src/app/commands.ts index 2d63b638f..d03c411c7 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