Skip to content

Commit

Permalink
fix: add missing parameter in findAllByQuery method in credential api (
Browse files Browse the repository at this point in the history
…openwallet-foundation#2083)

Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
  • Loading branch information
sairanjit authored Nov 7, 2024
1 parent 595c3d6 commit acfcbd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/modules/credentials/CredentialsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -635,8 +635,8 @@ export class CredentialsApi<CPs extends CredentialProtocol[]> implements Credent
*
* @returns List containing all credential records matching specified query paramaters
*/
public findAllByQuery(query: Query<CredentialExchangeRecord>) {
return this.credentialRepository.findByQuery(this.agentContext, query)
public findAllByQuery(query: Query<CredentialExchangeRecord>, queryOptions?: QueryOptions) {
return this.credentialRepository.findByQuery(this.agentContext, query, queryOptions)
}

/**
Expand Down

0 comments on commit acfcbd3

Please sign in to comment.