feat: add profile page
This commit is contained in:
@@ -57,6 +57,7 @@ func main() {
|
||||
protected.GET("/orders", handlers.GetUserOrders)
|
||||
protected.GET("/orders/:id", handlers.GetOrder)
|
||||
protected.PATCH("/profile", handlers.UpdateProfile)
|
||||
protected.GET("/profile", handlers.GetUserInfo)
|
||||
}
|
||||
|
||||
admin := protected.Group("/admin")
|
||||
|
||||
Reference in New Issue
Block a user