Skip to content

Commit

Permalink
[sprint-1][EA-3] update customer: fix route
Browse files Browse the repository at this point in the history
  • Loading branch information
Duchieuctk41 committed Jan 24, 2024
1 parent 01dd394 commit a780571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion route/route.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func NewRoute(
v1.GET("/customer/", middleware.Auth(false), customerController.GetList)
v1.GET("/customer/:id", middleware.Auth(false), customerController.GetOne)
v1.POST("/customer/", middleware.Auth(false), customerController.Create)
v1.PUT("/customer/:id", middleware.Auth(false), customerController.Update)
v1.PUT("/customer/", middleware.Auth(false), customerController.Update)
v1.DELETE("/customer/:id", middleware.Auth(false), customerController.Delete)

v1.GET("/permission/", middleware.Auth(false), employeeController.GetList)
Expand Down

0 comments on commit a780571

Please sign in to comment.