Skip to content

Commit

Permalink
fix: contemplate rawJson might be undefined III
Browse files Browse the repository at this point in the history
  • Loading branch information
GPaoloni committed Sep 9, 2024
1 parent 4e2f06a commit c1ad72e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export const convertContactToContactDocument = ({
twilioWorkerId,
content: JSON.stringify(rawJson),
isDataContact:
Boolean(rawJson) && Object.values(dataCallTypes).includes(rawJson.callType),
Boolean(rawJson) && Object.values(dataCallTypes).includes(rawJson!.callType),
// high_boost_global: '', // highBoostGlobal.join(' '),
// low_boost_global: '', // lowBoostGlobal.join(' '),
};
Expand Down

0 comments on commit c1ad72e

Please sign in to comment.