fix: change POST user update profile and delete input.role

This commit is contained in:
2026-06-24 10:46:15 +03:00
parent e569d63539
commit 4fc2c28d3b
3 changed files with 1 additions and 2 deletions
+1
View File
@@ -56,6 +56,7 @@ func main() {
protected.POST("/orders/", handlers.CreateOrder)
protected.GET("/orders", handlers.GetUserOrders)
protected.GET("/orders/:id", handlers.GetOrder)
protected.PATCH("/profile", handlers.UpdateProfile)
}
admin := protected.Group("/admin")