Fix connect call
This commit is contained in:
parent
7bd98270f8
commit
7a17dc772f
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue