From acfcbd35bad638fddbcb6dbce147b2a1bd1d3062 Mon Sep 17 00:00:00 2001 From: Sai Ranjit Tummalapalli Date: Thu, 7 Nov 2024 15:33:11 +0530 Subject: [PATCH] fix: add missing parameter in findAllByQuery method in credential api (#2083) Signed-off-by: Sai Ranjit Tummalapalli --- packages/core/src/modules/credentials/CredentialsApi.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) } /**