diff --git a/src/app/interest/page.tsx b/src/app/interest/page.tsx index 361ecf89..49e4b693 100644 --- a/src/app/interest/page.tsx +++ b/src/app/interest/page.tsx @@ -18,8 +18,8 @@ export default function Interest() { listing_type: 'IJP6 Test', user_id: '36b8f84d-df4e-4d49-b662-bcde71a8764f', form_response: { - interestReason: ['IJP-6-test'], - whyInterested: reason, + interestType: ['IJP-6-test'], + interestReason: reason, }, }; await insertInterest(newInterest); diff --git a/src/types/schemaTypes.ts b/src/types/schemaTypes.ts index 7b2328ad..2928382e 100644 --- a/src/types/schemaTypes.ts +++ b/src/types/schemaTypes.ts @@ -51,7 +51,7 @@ export interface Interest { listing_type: string; user_id: UUID; form_response: { - interestReason: string[]; - whyInterested: string; + interestType: string[]; + interestReason: string; }; }