fix: change POST user update profile and delete input.role
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user