tags GetFirst() => Find()

This commit is contained in:
fiatjaf
2025-03-29 17:12:31 -03:00
parent b1a03800e6
commit 7b6f387aad
2 changed files with 3 additions and 3 deletions

2
req.go
View File

@@ -84,7 +84,7 @@ example:
defer func() {
if err != nil {
log("auth to %s failed: %s\n",
(*authEvent.Tags.GetFirst([]string{"relay", ""}))[1],
authEvent.Tags.Find("relay")[1],
err,
)
}