diff --git a/functions/src/on-update-contract.ts b/functions/src/on-update-contract.ts index 4a11d811..b077ea92 100644 --- a/functions/src/on-update-contract.ts +++ b/functions/src/on-update-contract.ts @@ -20,7 +20,7 @@ export const onUpdateContract = functions.firestore 'resolved', contractUpdater, eventId, - contract.question, + contract.resolution ?? contract.question, contract ) } else if (