diff options
author | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-07-09 17:38:23 +0200 |
---|---|---|
committer | vulonkaaz <7442677+vulonkaaz@users.noreply.github.com> | 2024-07-09 17:38:23 +0200 |
commit | ce0a2b123603edcde4e17eacc02bafeec85f74ab (patch) | |
tree | 8bb4c20776fec63f7235772f8f698c76d74eee86 /router | |
parent | 80a73aeee4d2677961d9377c6f5b597ea2b8f473 (diff) |
delete api for moderation
Diffstat (limited to 'router')
-rw-r--r-- | router/router.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/router/router.go b/router/router.go index c6e2feb..c53cea4 100644 --- a/router/router.go +++ b/router/router.go @@ -9,4 +9,5 @@ func SetRoutes(app *fiber.App) { app.Get("/", controllers.ThreadList) app.Get("/thread/:id", controllers.Thread) app.Post("/api/post", controllers.Publish) + app.Delete("/api/post", controllers.Delete) } |