feat: add storages
This commit is contained in:
@@ -53,4 +53,11 @@ func (r *Routes) Register(router fiber.Router) {
|
||||
PathParam[string]("hash"),
|
||||
))
|
||||
|
||||
router.Post("/api/v1/posts", Func3(
|
||||
r.controller.Create,
|
||||
Local[*jwt.Claims]("claim"),
|
||||
CookieParam("tenant"),
|
||||
Body[PostBody]("body"),
|
||||
))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user