feat: add route order
This commit is contained in:
@@ -52,6 +52,7 @@ func main() {
|
||||
protected.POST("/cart/", handlers.AddToCart)
|
||||
protected.PATCH("/cart/:id", handlers.UpdateCartItem)
|
||||
protected.DELETE("/cart/:id", handlers.RemoveFromCart)
|
||||
protected.POST("/orders/", handlers.CreateOrder)
|
||||
}
|
||||
|
||||
admin := protected.Group("/")
|
||||
|
||||
Reference in New Issue
Block a user