Skip to content

Commit

Permalink
Align property names in AddParticipantForm
Browse files Browse the repository at this point in the history
Match property names in `AddParticipantForm` to the input names in `AddParticipantDialog`
  • Loading branch information
alex-yau-ttd committed Sep 2, 2024
1 parent 91d3625 commit 8500afa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/web/services/participant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,6 @@ export type UpdateParticipantForm = {
};

export type AddParticipantForm = {
contactFirstName: string;
contactLastName: string;
contactEmail: string;
participantName: string;
apiRoles: number[];
participantTypes: number[];
Expand All @@ -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) {
Expand Down

0 comments on commit 8500afa

Please sign in to comment.