Skip to content

Commit

Permalink
feat: rename variable
Browse files Browse the repository at this point in the history
Signed-off-by: SuZhou-Joe <[email protected]>
  • Loading branch information
SuZhou-Joe committed Sep 13, 2023
1 parent 3a6eab5 commit 00bd00a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,11 +287,11 @@ export function getQueryParams({
if (ACLSearchParams) {
const shouldClause: any = [];
if (ACLSearchParams.permissionModes && ACLSearchParams.principals) {
const workspacePermissionDSL = ACL.generateGetPermittedSavedObjectsQueryDSL(
const permissionDSL = ACL.generateGetPermittedSavedObjectsQueryDSL(
ACLSearchParams.permissionModes,
ACLSearchParams.principals
);
shouldClause.push(workspacePermissionDSL.query);
shouldClause.push(permissionDSL.query);
}

if (ACLSearchParams.workspaces) {
Expand Down

0 comments on commit 00bd00a

Please sign in to comment.