feat: add profile page

This commit is contained in:
2026-06-24 10:58:51 +03:00
parent 4fc2c28d3b
commit a450f32272
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -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")