Migrate to GitHub actions for coverage & unit test automation (#251)

This commit is contained in:
Joona Hoikkala
2021-01-11 17:31:09 +02:00
committed by GitHub
parent 9c6ca258e1
commit 835fbb9ef6
15 changed files with 88 additions and 64 deletions

View File

@ -50,7 +50,7 @@ func Auth(update httprouter.Handle) httprouter.Handle {
} else {
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusUnauthorized)
w.Write(jsonError("forbidden"))
_, _ = w.Write(jsonError("forbidden"))
}
}
}