diff --git a/packages/core/src/modules/credentials/CredentialsApi.ts b/packages/core/src/modules/credentials/CredentialsApi.ts index 6837fb5cb2..5a5618b4fc 100644 --- a/packages/core/src/modules/credentials/CredentialsApi.ts +++ b/packages/core/src/modules/credentials/CredentialsApi.ts @@ -635,8 +635,8 @@ export class CredentialsApi implements Credent * * @returns List containing all credential records matching specified query paramaters */ - public findAllByQuery(query: Query) { - return this.credentialRepository.findByQuery(this.agentContext, query) + public findAllByQuery(query: Query, queryOptions?: QueryOptions) { + return this.credentialRepository.findByQuery(this.agentContext, query, queryOptions) } /**