Skip to content

Commit

Permalink
feature/PI-762-ui_poc_for_cpm added placeholder and env field
Browse files Browse the repository at this point in the history
  • Loading branch information
Rohoolio authored and megan-bower4 committed Feb 12, 2025
1 parent 1549250 commit f09b602
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ const EnvironmentConfigStep: React.FC<EnvironmentConfigStepProps> = ({
</label>
<input
type="text"
placeholder="eg. internal-dev, internal-qa, ref, int"
id="environment"
className="nhs-input"
value={environmentConfig.environment}
Expand Down Expand Up @@ -352,7 +353,7 @@ const ProductCreationFlow: React.FC = () => {

try {
const response = await fetch(
"https://internal-dev.api.service.nhs.uk/connecting-party-manager/ProductTeam",
`https://${environmentConfig.environment}.api.service.nhs.uk/connecting-party-manager/ProductTeam`,
{
method: "POST",
headers: {
Expand Down Expand Up @@ -391,7 +392,7 @@ const ProductCreationFlow: React.FC = () => {

try {
const response = await fetch(
`https://internal-${environmentConfig.environment}.api.service.nhs.uk/connecting-party-manager/ProductTeam/${productTeamResponse?.id}/Product`,
`https://${environmentConfig.environment}.api.service.nhs.uk/connecting-party-manager/ProductTeam/${productTeamResponse?.id}/Product`,
{
method: "POST",
headers: {
Expand Down

0 comments on commit f09b602

Please sign in to comment.