mirror of
https://github.com/believethehype/nostdress.git
synced 2026-06-18 23:09:43 -07:00
add missing "return" to GetName error.
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user