trucs inutilesé

This commit is contained in:
gom-by
2025-01-17 15:38:36 +01:00
parent 89f44f4469
commit 9d9b5a5145
13 changed files with 1119 additions and 51 deletions

View File

@@ -10,14 +10,6 @@ import (
func HandleGetBlog(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json")
if r.Method != http.MethodGet {
core.JSONError{
Status: core.Error,
Message: "Method not Allowed",
}.Respond(w, http.StatusMethodNotAllowed)
return
}
blog_uuid := r.PathValue("uuid")
var blog core.Blog