From 28e1c656312ae9a7c4afec1aa65bb104f788b8b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Tue, 26 Jul 2022 13:50:13 +0200 Subject: [PATCH] feat(domain-events): add discount code to subscription purchased event --- .../src/Domain/Event/SubscriptionPurchasedEventPayload.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/domain-events/src/Domain/Event/SubscriptionPurchasedEventPayload.ts b/packages/domain-events/src/Domain/Event/SubscriptionPurchasedEventPayload.ts index fda212ccd..677c3f0d0 100644 --- a/packages/domain-events/src/Domain/Event/SubscriptionPurchasedEventPayload.ts +++ b/packages/domain-events/src/Domain/Event/SubscriptionPurchasedEventPayload.ts @@ -7,4 +7,5 @@ export interface SubscriptionPurchasedEventPayload { subscriptionExpiresAt: number timestamp: number offline: boolean + discountCode: string | null }