Commit ad5aae12 authored by Max Richter's avatar Max Richter
Browse files

fix(): unify rest-api restapi name

parent 2f6ca1f3
......@@ -8,7 +8,7 @@ import (
// LogRequests logs requests
func LogRequests(next http.Handler) http.Handler {
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
log.Println("[REST-API] " + r.Method + " request on: " + r.RequestURI)
log.Println("[RESTAPI] " + r.Method + " request on: " + r.RequestURI)
next.ServeHTTP(w, r)
})
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment