Skip to content

Commit 802436e

Browse files
NowinskiKjpomfret
andauthored
Might be a bit robust, yeah in some cases
Co-authored-by: Jess Pomfret <[email protected]>
1 parent dfc8bd3 commit 802436e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Public/Deployment Pipeline/Add-FabricWorkspaceToStage.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ function Add-FabricWorkspaceToStage {
5555
Confirm-TokenState
5656

5757
# Step 2: Construct the API URL
58-
$apiEndpointUrl = "deploymentPipelines/$DeploymentPipelineId/stages/$StageId/assignWorkspace"
58+
$apiEndpointUrl = ("deploymentPipelines/{0}/stages/{1}/assignWorkspace" -f $DeploymentPipelineId, $StageId)
5959
Write-Message -Message "API Endpoint: $apiEndpointUrl" -Level Debug
6060

6161
# Step 3: Construct the request body

0 commit comments

Comments
 (0)