Skip to content

Commit

Permalink
Change type name uitpas
Browse files Browse the repository at this point in the history
  • Loading branch information
vhande committed May 22, 2024
1 parent 5309521 commit 97d152b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function rules(): array
'subscriptionId' => ['required', 'string'],
'integrationName' => ['required', 'string', 'max:255'],
'description' => ['required', 'string', 'max:255'],
'website' => ['required_if:integrationType,uitpas-api', 'nullable', 'url:http,https', 'max:255'],
'website' => ['required_if:integrationType,uitpas', 'nullable', 'url:http,https', 'max:255'],
'firstNameFunctionalContact' => ['required', 'string', 'max:255'],
'lastNameFunctionalContact' => ['required', 'string', 'max:255'],
'emailFunctionalContact' => ['required', 'string', 'email', 'max:255'],
Expand Down
2 changes: 1 addition & 1 deletion resources/ts/Components/IntegrationCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ type Props = Integration &
};

const productTypeToPath = {
"uitpas-api": "/",
uitpas: "/",
"entry-api": "/uitdatabank/entry-api/introduction",
"search-api": "/uitdatabank/search-api/introduction",
widgets: "/widgets/aan-de-slag",
Expand Down
2 changes: 1 addition & 1 deletion resources/ts/types/IntegrationType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const IntegrationType = {
EntryApi: "entry-api",
SearchApi: "search-api",
Widgets: "widgets",
UiTPAS: "uitpas-api",
UiTPAS: "uitpas",
} as const;

export type IntegrationType = Values<typeof IntegrationType>;
Expand Down

0 comments on commit 97d152b

Please sign in to comment.