We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 354a9f9 commit 4292f0cCopy full SHA for 4292f0c
apps/dashboard/pages/api/tally/webhook-waiver.ts
@@ -7,7 +7,7 @@ const handler: NextApiHandler = async (req, res) => {
7
const body = req.body;
8
9
const field = body.data.fields.find(
10
- ({ label, type }) => label === 'question_DB9A6R' && type === 'INPUT_TEXT'
+ ({ key, type }) => key === 'question_DB9A6R' && type === 'INPUT_TEXT'
11
);
12
if (field === undefined || field === null || field.value === '') {
13
return createResponse(
0 commit comments