mirror of
https://github.com/vitorpamplona/Nostryfied.git
synced 2025-04-19 18:31:17 +00:00
fixes auth flow
This commit is contained in:
parent
74721e5327
commit
b7a946cc4a
@ -216,7 +216,7 @@ const fetchFromRelay = async (relay, filters, pubkey, events, relayStatus) =>
|
||||
(event) => {
|
||||
if (event) {
|
||||
console.log("AUTH", JSON.stringify(['EVENT', event]))
|
||||
ws.send(JSON.stringify(['EVENT', event]))
|
||||
ws.send(JSON.stringify(['AUTH', event]))
|
||||
} else {
|
||||
updateRelayStatus(relay, "AUTH Req", 0, undefined, relayStatus)
|
||||
ws.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user