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 committed Feb 10, 2025
1 parent a630b82 commit 4f73746
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 4f73746

Please sign in to comment.