Skip to content

Commit

Permalink
targetedEntity - multiple role case hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
VISHNUDAS-tunerlabs committed Mar 24, 2022
1 parent 4de70fb commit 7e49caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/v1/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -566,8 +566,8 @@ module.exports = class Users extends Abstract {
message: constants.apiResponses.ENTITIES_NOT_ALLOWED_IN_ROLE
};
}

targetedEntities.result = targetedEntity.data;
targetedEntities.result = targetedEntity.data[0];
}
}

Expand Down

0 comments on commit 7e49caf

Please sign in to comment.