drift-org / backend

2 stars 0 forks source link

Patch/#32 - Switch `/group` placement #35

Closed brandonLi8 closed 3 years ago

brandonLi8 commented 3 years ago

Contributors

@brandonLi8

Relevant issue

Closes #32

Summary of change

Currently we have:

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

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

Switched the order so it becomes:

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

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

Testing/Verification

n/a