Skip to content

Commit 28f1be1

Browse files
authored
Merge pull request #6458 from Countly/anna/master
[core] Use correct rights validation for loyality
2 parents 0c88ff3 + c435814 commit 28f1be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/utils/requestProcessor.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1567,7 +1567,7 @@ const processRequest = (params) => {
15671567
common.returnMessage(params, 400, 'Missing parameter "app_id"');
15681568
return false;
15691569
}
1570-
validateUserForMgmtReadAPI(countlyApi.mgmt.appUsers.loyalty, params);
1570+
validateUserForRead(params, countlyApi.mgmt.appUsers.loyalty);
15711571
break;
15721572
}
15731573
/**

0 commit comments

Comments
 (0)