forked from heierbtc/satdress-mirror
add missing "return" to GetName error.
This commit is contained in:
parent
2f6e17073f
commit
23316c9af8
1
lnurl.go
1
lnurl.go
|
@ -18,6 +18,7 @@ func handleLNURL(w http.ResponseWriter, r *http.Request) {
|
|||
log.Error().Err(err).Str("name", username).Msg("failed to get name")
|
||||
json.NewEncoder(w).Encode(lnurl.ErrorResponse(fmt.Sprintf(
|
||||
"failed to get name %s", username)))
|
||||
return
|
||||
}
|
||||
|
||||
log.Info().Str("username", username).Msg("got lnurl request")
|
||||
|
|
Loading…
Reference in New Issue
Block a user