Skip to content

Commit fdeb2f1

Browse files
committed
notify only for requestToJoinExecuted (#345)
1 parent 736340c commit fdeb2f1

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

packages/common-firebase/functions/src/notification/notification.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -425,12 +425,6 @@ export const notifyData: Record<string, IEventData> = {
425425
commonData
426426
};
427427
},
428-
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
429-
notification: async ({ commonData, subscription }) => (
430-
subscription.charges === 1
431-
? memberAddedNotification(commonData)
432-
: null
433-
),
434428
email: ({ subscription, user, card }: {
435429
subscription: ISubscriptionEntity,
436430
user: IUserEntity,

0 commit comments

Comments
 (0)