From 5ffb6f51f7343d45327645158bb64a8b40f29201 Mon Sep 17 00:00:00 2001 From: novikovmu Date: Fri, 23 Sep 2022 14:17:35 +0300 Subject: [PATCH] MSP-1045 fix routes --- routes/routes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/routes/routes.go b/routes/routes.go index c2cd8e7..33260fb 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -27,25 +27,25 @@ func Handler(wrapper endpoint.Wrapper, c Controllers) isp.BackendServiceServer { func endpointDescriptors(c Controllers) []cluster.EndpointDescriptor { return []cluster.EndpointDescriptor{ { - Path: "script/execute", + Path: "script/script/execute", Inner: true, UserAuthRequired: false, Handler: c.Script.Execute, }, { - Path: "script/batch_execute", + Path: "script/script/batch_execute", Inner: true, UserAuthRequired: false, Handler: c.Script.BatchExecute, }, { - Path: "script/execute_by_id", + Path: "script/script/execute_by_id", Inner: true, UserAuthRequired: false, Handler: c.Script.ExecuteById, }, { - Path: "script/batch_execute_by_ids", + Path: "script/script/batch_execute_by_ids", Inner: true, UserAuthRequired: false, Handler: c.Script.BatchExecuteById,