Skip to content

Commit

Permalink
feat: Exclude some notifications from emails
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinszuchet committed Jan 29, 2025
1 parent f4b297b commit 1b45ca8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion common/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,10 @@ const excludedNotificationTypes = [
NotificationType.GOVERNANCE_VOTED_ON_BEHALF,
NotificationType.REWARD_CAMPAIGN_GAS_PRICE_HIGHER_THAN_EXPECTED,
NotificationType.REWARD_DELAYED,
NotificationType.REWARD_IN_PROGRESS
NotificationType.REWARD_IN_PROGRESS,
NotificationType.ITEM_PUBLISHED,
NotificationType.SOCIAL_SERVICE_FRIENDSHIP_REQUEST,
NotificationType.SOCIAL_SERVICE_FRIENDSHIP_ACCEPTED
].map((type) => type.toUpperCase())

type ExcludedNotificationType = (typeof excludedNotificationTypes)[number]
Expand Down

0 comments on commit 1b45ca8

Please sign in to comment.