Add sourceContractId to bet_fill notification

This commit is contained in:
James Grugett 2022-07-10 13:45:32 -05:00
parent 4de22acb3e
commit 900fc75506

View File

@ -413,6 +413,7 @@ export const createBetFillNotification = async (
sourceContractCreatorUsername: contract.creatorUsername, sourceContractCreatorUsername: contract.creatorUsername,
sourceContractTitle: contract.question, sourceContractTitle: contract.question,
sourceContractSlug: contract.slug, sourceContractSlug: contract.slug,
sourceContractId: contract.id,
} }
return await notificationRef.set(removeUndefinedProps(notification)) return await notificationRef.set(removeUndefinedProps(notification))
} }