mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-12 17:10:54 +00:00
Fix more warnings
This commit is contained in:
parent
1aa1046073
commit
ced892fd1a
4 changed files with 8 additions and 28 deletions
|
@ -209,7 +209,7 @@ func updateSysMem() {
|
|||
}
|
||||
|
||||
// HTTPShowStatistics handles the /stats endpoint. It writes out the Statistics object as indented JSON.
|
||||
func HTTPShowStatistics(w http.ResponseWriter, r *http.Request) {
|
||||
func HTTPShowStatistics(w http.ResponseWriter, _ *http.Request) {
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
|
||||
updateStatsIfNeeded()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue