mirror of
https://github.com/OpenSignLabs/OpenSign.git
synced 2026-08-21 07:02:32 +02:00
Merge pull request #356 from OpenSignLabs/mismatch_attach
fix: correct condition
This commit is contained in:
@@ -13,6 +13,8 @@ export default async function getUserListByOrg(req) {
|
||||
extUser.equalTo('OrganizationId', orgPtr);
|
||||
extUser.include('TeamIds');
|
||||
extUser.descending('createdAt');
|
||||
extUser.exclude('DailyEmailReset');
|
||||
extUser.exclude('DailyEmailCount');
|
||||
const userRes = await extUser.find({ useMasterKey: true });
|
||||
if (userRes.length > 0) {
|
||||
const _userRes = JSON.parse(JSON.stringify(userRes));
|
||||
|
||||
Reference in New Issue
Block a user