rename auth service
This commit is contained in:
@@ -30,8 +30,5 @@ func getHome(w http.ResponseWriter, _ *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
if _, err := fmt.Fprint(w, buf); err != nil {
|
||||
log.Err(err).Msg("unable to write to response")
|
||||
http.Error(w, "unexpected error occurred", http.StatusInternalServerError)
|
||||
}
|
||||
fmt.Fprint(w, buf)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user