This commit is contained in:
parent
0b470ec9ad
commit
ccf93660b5
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ func (h *Handler) RegisterRoutes(r *gin.RouterGroup, mw *router.Middlewares) {
|
|||
|
||||
userGroup.POST("", mw.RegMW, h.controller.create)
|
||||
userGroup.DELETE("", mw.AuthMW, h.controller.delete)
|
||||
userGroup.GET("/me", h.controller.me)
|
||||
userGroup.GET("/me", mw.AuthMW, h.controller.me)
|
||||
}
|
||||
|
||||
// create godoc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue