Skip to content

Commit

Permalink
Merge pull request #112 from Giveth/4194-make-notification-compatible…
Browse files Browse the repository at this point in the history
…-with-ortto

remove userId from notify reward amount ortto request
  • Loading branch information
ae2079 authored Jul 23, 2024
2 parents 5e2fb97 + 14a0d7f commit e45646a
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 e45646a

Please sign in to comment.