Upstream sync
This commit is contained in:
@@ -15,6 +15,8 @@ const (
|
||||
func Register(r *echo.Group, cfg *config.Config, svc *applicationservice.Service) {
|
||||
ctrl := controllerInstance(svc, cfg)
|
||||
|
||||
r.POST(rootRoute, ctrl.handle)
|
||||
|
||||
r.GET(rootRoute, ctrl.handleGetAll)
|
||||
r.GET(idRoute, ctrl.handleGetByID)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user