chore(lint): silence linter warnings

This commit is contained in:
Gabe Kangas 2023-10-21 09:46:45 -07:00
parent 5889f53f62
commit 56eb2a4785
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 2 additions and 0 deletions

View File

@ -31,6 +31,7 @@ func UpdateMessageVisibility(w http.ResponseWriter, r *http.Request) {
}
if r.Method != controllers.POST {
// nolint:goconst
controllers.WriteSimpleResponse(w, false, r.Method+" not supported")
return
}

View File

@ -54,6 +54,7 @@ func RegisterAnonymousChatUser(w http.ResponseWriter, r *http.Request) {
}
if r.Method != http.MethodPost {
// nolint:goconst
WriteSimpleResponse(w, false, r.Method+" not supported")
return
}