From 8500afa06db3bf2b14eeec10e9ee90681e4b973a Mon Sep 17 00:00:00 2001 From: Alex Yau Date: Tue, 3 Sep 2024 09:30:36 +1000 Subject: [PATCH] Align property names in `AddParticipantForm` Match property names in `AddParticipantForm` to the input names in `AddParticipantDialog` --- src/web/services/participant.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/web/services/participant.ts b/src/web/services/participant.ts index e73e2e33..e2e17f33 100644 --- a/src/web/services/participant.ts +++ b/src/web/services/participant.ts @@ -174,9 +174,6 @@ export type UpdateParticipantForm = { }; export type AddParticipantForm = { - contactFirstName: string; - contactLastName: string; - contactEmail: string; participantName: string; apiRoles: number[]; participantTypes: number[]; @@ -185,6 +182,9 @@ export type AddParticipantForm = { siteName?: string; jobFunction: string; crmAgreementNumber: string; + firstName: string; + lastName: string; + email: string; }; export async function AddParticipant(formData: AddParticipantForm) {