feat: delete all releases from settings (#170)

This commit is contained in:
Ludvig Lundgren 2022-03-06 18:08:32 +01:00 committed by GitHub
parent c28c6186d9
commit 3b43ccba8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 148 additions and 14 deletions

View file

@ -21,6 +21,14 @@ func (e encoder) StatusResponse(ctx context.Context, w http.ResponseWriter, resp
}
}
func (e encoder) StatusNoContent(w http.ResponseWriter) {
w.WriteHeader(http.StatusNoContent)
}
func (e encoder) StatusNotFound(ctx context.Context, w http.ResponseWriter) {
w.WriteHeader(http.StatusNotFound)
}
func (e encoder) StatusInternalError(w http.ResponseWriter) {
w.WriteHeader(http.StatusInternalServerError)
}