small things.

This commit is contained in:
fiatjaf
2025-04-03 00:23:26 -03:00
parent 0d5daf66bf
commit b48d2249b9
3 changed files with 4 additions and 4 deletions

View File

@@ -39,7 +39,7 @@ func ValidateAuthEvent(event *nostr.Event, challenge string, relayURL string) (p
return "", false
}
if event.Tags.GetFirst([]string{"challenge", challenge}) == nil {
if event.Tags.FindWithValue("challenge", challenge) == nil {
return "", false
}