File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
source/Public/Deployment Pipeline Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ function Add-FabricWorkspaceToStage {
55
55
Confirm-TokenState
56
56
57
57
# Step 2: Construct the API URL
58
- $apiEndpointUrl = " deploymentPipelines/$DeploymentPipelineId /stages/$StageId /assignWorkspace"
58
+ $apiEndpointUrl = ( " deploymentPipelines/{0} /stages/{1} /assignWorkspace" -f $DeploymentPipelineId , $StageId )
59
59
Write-Message - Message " API Endpoint: $apiEndpointUrl " - Level Debug
60
60
61
61
# Step 3: Construct the request body
@@ -69,7 +69,7 @@ function Add-FabricWorkspaceToStage {
69
69
70
70
# Step 5: Return results
71
71
Write-Message - Message " Successfully assigned workspace to deployment pipeline stage." - Level Info
72
- return $response
72
+ $response
73
73
} catch {
74
74
# Step 6: Error handling
75
75
$errorDetails = $_.Exception.Message
You can’t perform that action at this time.
0 commit comments