Skip to content

Commit

Permalink
wip: disable methods that are not known to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterlukasse committed Jan 11, 2024
1 parent 1b62174 commit a869df7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ func NewRouter() *gin.Engine {

cohortdefinitions := controllers.NewCohortDefinitionController(*new(models.CohortDefinition))
authorized.GET("/cohortdefinition/by-id/:id", cohortdefinitions.RetriveById)
authorized.GET("/cohortdefinition/by-name/:name", cohortdefinitions.RetriveByName)
authorized.GET("/cohortdefinitions", cohortdefinitions.RetriveAll)
// authorized.GET("/cohortdefinition/by-name/:name", cohortdefinitions.RetriveByName)
// authorized.GET("/cohortdefinitions", cohortdefinitions.RetriveAll)

authorized.GET("/cohortdefinition-stats/by-source-id/:sourceid/by-team-project", cohortdefinitions.RetriveStatsBySourceIdAndTeamProject)

Expand Down

0 comments on commit a869df7

Please sign in to comment.