fix: change route & lower case error print

This commit is contained in:
2026-06-23 13:41:53 +03:00
parent c32aee50dc
commit 93a08c7d13
2 changed files with 14 additions and 1 deletions
+1
View File
@@ -53,6 +53,7 @@ func main() {
protected.PATCH("/cart/:id", handlers.UpdateCartItem)
protected.DELETE("/cart/:id", handlers.RemoveFromCart)
protected.POST("/orders/", handlers.CreateOrder)
protected.GET("/orders", handlers.GetUserOrders)
}
admin := protected.Group("/")