fix query user by id

This commit is contained in:
andrusyakka
2023-07-14 16:11:24 +03:00
parent 567d07ce89
commit 459c5bebad
2 changed files with 17 additions and 6 deletions

View File

@@ -45,7 +45,7 @@ func main() {
e.GET("/me", h.GetCurrentUser)
e.POST("/", h.CreateUser)
e.GET("/", h.GetUsers)
e.GET("/:id", h.GetUsers)
e.GET("/:id", h.GetUser)
e.PATCH("/:id", h.UpdateUser)
e.DELETE("/:id", h.DeleteUser)
e.GET("/health", h.Health)