diff --git a/packages/payload/src/utilities/getEntityPolicies.ts b/packages/payload/src/utilities/getEntityPolicies.ts index 9618a0e25f2..477d6a91227 100644 --- a/packages/payload/src/utilities/getEntityPolicies.ts +++ b/packages/payload/src/utilities/getEntityPolicies.ts @@ -5,6 +5,7 @@ import type { Field, FieldAccess } from '../fields/config/types.js' import type { SanitizedGlobalConfig } from '../globals/config/types.js' import type { AllOperations, Document, PayloadRequest, Where } from '../types/index.js' +import { combineQueries } from '../database/combineQueries.js' import { tabHasName } from '../fields/config/types.js' type Args = { @@ -63,17 +64,7 @@ export async function getEntityPolicies(args: T): Promise