drift-org / backend

2 stars 0 forks source link

Switch group route definition #32

Closed brandonLi8 closed 3 years ago

brandonLi8 commented 3 years ago

Currently we have:

in sever.go:
groupRoute(router.Group("/"))

in group_route.go:
g.POST("/group")

Switch the order so it becomes:

in sever.go:
groupRoute(router.Group("/group"))

in group_route.go:
g.POST("/")