Skip to content

Commit

Permalink
Merge pull request #77 from amansinghbais/user-preferred-notification…
Browse files Browse the repository at this point in the history
…-preferences

Improved: logic to fetch user preferred notification preferences (bopis-274)
  • Loading branch information
ravilodhi authored Feb 5, 2024
2 parents 8851c40 + 60f04b5 commit c3d36e2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/modules/notification/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,11 @@ async function getNotificationEnumIds(enumTypeId: string): Promise<any> {
}
}

async function getNotificationUserPrefTypeIds(applicationId: string): Promise<any> {
async function getNotificationUserPrefTypeIds(applicationId: string, userLoginId: string): Promise<any> {
const payload = {
"inputFields": {
"userPrefGroupTypeId": applicationId
"userPrefGroupTypeId": applicationId,
userLoginId
},
"entityName": "UserPreference",
"fieldList": ["userPrefTypeId", "userPrefGroupTypeId"],
Expand Down

0 comments on commit c3d36e2

Please sign in to comment.