Skip to content

Commit

Permalink
fix: updated schema correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
varortz committed Oct 5, 2023
1 parent 3c53d00 commit 52392d2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/app/interest/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/types/schemaTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export interface Interest {
listing_type: string;
user_id: UUID;
form_response: {
interestReason: string[];
whyInterested: string;
interestType: string[];
interestReason: string;
};
}

0 comments on commit 52392d2

Please sign in to comment.