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 {
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
@@ -69,7 +69,7 @@ function Add-FabricWorkspaceToStage {
6969
7070 # Step 5: Return results
7171 Write-Message - Message " Successfully assigned workspace to deployment pipeline stage." - Level Info
72- return $response
72+ $response
7373 } catch {
7474 # Step 6: Error handling
7575 $errorDetails = $_.Exception.Message
You can’t perform that action at this time.
0 commit comments