Skip to content

Commit

Permalink
remove userId from notify reward amount ortto request
Browse files Browse the repository at this point in the history
  • Loading branch information
ae2079 committed Jul 23, 2024
1 parent 5e2fb97 commit 14a0d7f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/notificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,8 @@ export const activityCreator = (
const merge_by = [];
if (
process.env.ENVIRONMENT === 'production' &&
orttoEventName !== NOTIFICATIONS_EVENT_NAMES.SEND_EMAIL_CONFIRMATION
orttoEventName !== NOTIFICATIONS_EVENT_NAMES.SEND_EMAIL_CONFIRMATION &&
orttoEventName !== NOTIFICATIONS_EVENT_NAMES.NOTIFY_REWARD_AMOUNT
) {
fields['str:cm:user-id'] = payload.userId?.toString();
merge_by.push('str:cm:user-id');
Expand Down

0 comments on commit 14a0d7f

Please sign in to comment.