remove: tenantslug

This commit is contained in:
Rogee
2025-01-15 20:31:21 +08:00
parent 13566cfa38
commit dbe1e19be2
24 changed files with 521 additions and 301 deletions

View File

@@ -38,10 +38,9 @@ func (r *Routes) Register(router fiber.Router) {
Query[UserOrderFilter]("filter"),
))
router.Post("/api/v1/orders", DataFunc3(
router.Post("/api/v1/orders", DataFunc2(
r.orderController.Create,
Local[*jwt.Claims]("claim"),
CookieParam("tenant"),
PathParam[string]("hash"),
))