From 900fc7550653b2fe07ffb7da2e29175f5767e8cb Mon Sep 17 00:00:00 2001 From: James Grugett Date: Sun, 10 Jul 2022 13:45:32 -0500 Subject: [PATCH] Add sourceContractId to bet_fill notification --- functions/src/create-notification.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/src/create-notification.ts b/functions/src/create-notification.ts index 0d3432a7..1fb6c3af 100644 --- a/functions/src/create-notification.ts +++ b/functions/src/create-notification.ts @@ -413,6 +413,7 @@ export const createBetFillNotification = async ( sourceContractCreatorUsername: contract.creatorUsername, sourceContractTitle: contract.question, sourceContractSlug: contract.slug, + sourceContractId: contract.id, } return await notificationRef.set(removeUndefinedProps(notification)) }