forked from coracle/flotilla
Fix connect call
This commit is contained in:
+1
-1
@@ -121,7 +121,7 @@ export const loginWithNip46 = async ({
|
|||||||
connectSecret?: string
|
connectSecret?: string
|
||||||
}) => {
|
}) => {
|
||||||
const broker = Nip46Broker.get({relays, clientSecret, signerPubkey})
|
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
|
// TODO: remove ack result
|
||||||
if (!["ack", connectSecret].includes(result)) return false
|
if (!["ack", connectSecret].includes(result)) return false
|
||||||
|
|||||||
Reference in New Issue
Block a user