From a869df73270c0adeecf38360e0524318c54de2d6 Mon Sep 17 00:00:00 2001 From: pieterlukasse Date: Thu, 11 Jan 2024 18:31:49 +0100 Subject: [PATCH] wip: disable methods that are not known to be used --- server/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/router.go b/server/router.go index 30f1407..23c40ae 100644 --- a/server/router.go +++ b/server/router.go @@ -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)