event api v1

This commit is contained in:
gom-by
2025-01-27 11:37:13 +01:00
parent c202764966
commit 18dd8fa1bb
4 changed files with 45 additions and 96 deletions

View File

@@ -1,4 +1,3 @@
package api
import (
@@ -26,8 +25,6 @@ func HandleDeleteEvent(w http.ResponseWriter, r *http.Request) {
}
log.Println(res)
// TODO sql request to remove content
core.JSONSuccess{
Status: core.Success,
Message: "Event deleted.",