From 61bb5eee0d6092165da5ae108ddd2f6058be68cd Mon Sep 17 00:00:00 2001 From: Rushikesh Nimkar Date: Tue, 11 Jun 2024 20:19:48 +0530 Subject: [PATCH] made client per node public --- api/v1/client/client.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1/client/client.go b/api/v1/client/client.go index 677a990..a072197 100644 --- a/api/v1/client/client.go +++ b/api/v1/client/client.go @@ -23,8 +23,9 @@ func ApplyRoutes(r *gin.RouterGroup) { g.GET("/clients", GetAllClients) g.DELETE("/client/:uuid", DeleteClient) // g.GET("/config/:region/:uuid", GetConfig) - g.GET("/clients/node/:nodeId", GetClientsByNode) + // g.GET("/clients/node/:nodeId", GetClientsByNode) } + r.GET("/erebrus/clients/node/:nodeId", GetClientsByNode) } func RegisterClient(c *gin.Context) { region_id := c.Param("regionId")