Skip to content

Commit

Permalink
Amend the delete path
Browse files Browse the repository at this point in the history
  • Loading branch information
kris-szlapa committed Jul 10, 2024
1 parent 9191dd4 commit 4d854d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/scripts/deploy_api.sh
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ fi
# Remove the target attribute if the environment is sandbox
if [[ "${APIGEE_ENVIRONMENT}" == *"sandbox"* ]]; then
echo "Removing target attribute for sandbox environment"
jq 'del(.["x-nhsd-apim"].target)' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
jq 'del(.x-nhsd-apim.target)' "${SPEC_PATH}" > temp.json && mv temp.json "${SPEC_PATH}"
fi

# Remove checkprescriptionstatusupdates if its not needed
Expand Down

0 comments on commit 4d854d0

Please sign in to comment.