MSP-1045 fix routes

This commit is contained in:
novikovmu committed 2022-09-23 14:17:35 +03:00
1 parent 8d1641f5f1
commit 5ffb6f51f7
1 file changed
+4 -4
+4 -4
View File
@@ -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,