Rename RegisterRoutes to Routes in resource handler
This commit is contained in:
parent
96c6fe157b
commit
bafc519150
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ func (h *Handler) getResource(c *gin.Context) {
|
|||
})
|
||||
}
|
||||
|
||||
func (h *Handler) RegisterRoutes(r *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware) {
|
||||
func (h *Handler) Routes(r *gin.RouterGroup, authMiddleware *jwt.GinJWTMiddleware) {
|
||||
resourceRoutes := r.Group("api/v1/resource")
|
||||
|
||||
// skip resource endpoint for donetick.com
|
||||
|
|
Loading…
Add table
Reference in a new issue