fix: Set log level to debug for message about API token (#757)

pull/764/head
Zois Pagoulatos 3 years ago committed by GitHub
parent fb9469e58e
commit 4689853493
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -30,7 +30,7 @@ func (api *API) RequireToken(fn http.HandlerFunc) http.HandlerFunc {
log.Debugf("Expected token to be \"%s\"", api.Token)
return
}
log.Println("Valid token found.")
log.Debug("Valid token found.")
fn(w, r)
}
}

Loading…
Cancel
Save