add nolint.

This commit is contained in:
Miroslav Šedivý
2021-01-25 17:36:43 +01:00
parent 0ead4bc8fd
commit 794728f4a8
2 changed files with 5 additions and 1 deletions

View File

@ -94,6 +94,7 @@ func (h *RoomHandler) screenShotGet(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Header().Set("Content-Type", "image/jpeg")
//nolint
w.Write(out.Bytes())
}
@ -112,5 +113,6 @@ func (h *RoomHandler) screenCastGet(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Cache-Control", "no-cache, no-store, must-revalidate")
w.Header().Set("Content-Type", "image/jpeg")
//nolint
w.Write(bytes)
}