Skip to content

Commit

Permalink
Add missing parameter EnvironmentId
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjanikac authored and FH-Inway committed Aug 30, 2023
1 parent cfe5671 commit 9ceffe9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 2LCS/HttpClientHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ internal Response StartSandboxServicing(DeployablePackage package, string platfo

internal async Task<bool> StartStopDeployment(CloudHostedInstance instance, string action)
{
var parameters = $"{action}=&ActivityId={instance.ActivityId}&ProductName={WebUtility.UrlEncode(instance.ProductName)}&TopologyName={instance.TopologyName}&TopologyInstanceId={instance.InstanceId}&AzureSubscriptionId={instance.AzureSubscriptionId}&EnvironmentGroup=0";
var parameters = $"{action}=&ActivityId={instance.ActivityId}&ProductName={WebUtility.UrlEncode(instance.ProductName)}&TopologyName={instance.TopologyName}&TopologyInstanceId={instance.InstanceId}&AzureSubscriptionId={instance.AzureSubscriptionId}&EnvironmentGroup=0&EnvironmentId={instance.EnvironmentId}";
using (_stringContent = new StringContent(parameters, Encoding.UTF8, "application/x-www-form-urlencoded"))
{
SetRequestVerificationToken($"{LcsUrl}/V2");
Expand Down Expand Up @@ -904,4 +904,4 @@ private void Dispose(bool disposing)
}
}
}
}
}

0 comments on commit 9ceffe9

Please sign in to comment.