fix style
This commit is contained in:
1 parent
298722ef18
commit
ecc54a51f6
1 file changed
+1
-1
@@ -48,7 +48,7 @@ func listRoutes(res http.ResponseWriter, req *http.Request) {
|
||||
|
||||
listBytes, _ := json.Marshal(list)
|
||||
res.Header().Set("Content-Type", "application/json")
|
||||
res.Write(listBytes)
|
||||
_, _ = res.Write(listBytes)
|
||||
}
|
||||
|
||||
// user.Routes.Append(r model.Route) model.Route
|
||||
|
||||
Reference in new issue
Block a user