diff --git a/functions/src/emails.ts b/functions/src/emails.ts index 047e6828..e6e52090 100644 --- a/functions/src/emails.ts +++ b/functions/src/emails.ts @@ -116,7 +116,9 @@ const toDisplayResolution = ( } if (contract.outcomeType === 'PSEUDO_NUMERIC') { - const { resolutionValue } = contract + const { resolution, resolutionValue } = contract + + if (resolution === 'CANCEL') return 'N/A' return resolutionValue ? formatLargeNumber(resolutionValue)