mirror of
https://github.com/WiiLink24/wfc-server.git
synced 2026-05-20 19:38:44 -05:00
Race: Apply lint suggestions
This commit is contained in:
parent
a4a7fb43ce
commit
f940b594b6
|
|
@ -212,5 +212,7 @@ func writeResponse(responseWriter http.ResponseWriter, rankingDataResponse ranki
|
|||
|
||||
responseWriter.Header().Set("Content-Length", strconv.Itoa(len(responseBody)))
|
||||
responseWriter.Header().Set("Content-Type", "text/xml")
|
||||
responseWriter.Write(responseBody)
|
||||
if _, err := responseWriter.Write(responseBody); err != nil {
|
||||
logging.Error("Failed to write response:", err)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user