Skip to content

Commit

Permalink
change userId to lowercase
Browse files Browse the repository at this point in the history
  • Loading branch information
RamRamez committed Apr 29, 2024
1 parent 956e072 commit eab2355
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/services/notificationService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,23 @@ const activityCreator = (payload: any, orttoEventName: NOTIFICATIONS_EVENT_NAMES
"str:cm:email": payload.email,
"str:cm:projectlink": payload.projectLink,
"str:cm:verified-status": 'revoked',
"str:cm:userid": payload.userId?.toString(),
}
break
case NOTIFICATIONS_EVENT_NAMES.PROJECT_BADGE_REVOKE_WARNING:
attributes = {
"str:cm:projecttitle": payload.title,
"str:cm:email": payload.email,
"str:cm:projectupdatelink": payload.projectLink + '?tab=updates',
"str:cm:user-id": payload.userId?.toString(),
"str:cm:userid": payload.userId?.toString(),
}
break
case NOTIFICATIONS_EVENT_NAMES.PROJECT_BADGE_REVOKE_LAST_WARNING:
attributes = {
"str:cm:projecttitle": payload.title,
"str:cm:email": payload.email,
"str:cm:projectupdatelink": payload.projectLink + '?tab=updates',
"str:cm:user-id": payload.userId?.toString(),
"str:cm:userid": payload.userId?.toString(),
}
break
default:
Expand Down

0 comments on commit eab2355

Please sign in to comment.