Skip to content

Commit

Permalink
refactor: obj
Browse files Browse the repository at this point in the history
  • Loading branch information
janrtvld committed Apr 1, 2022
1 parent ff37b85 commit dda7ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/modules/credentials/CredentialsModule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -507,8 +507,8 @@ export class CredentialsModule {
*
* @param credentialId the credential record id
*/
public async deleteById(credentialId: string, deleteAssociatedCredential?: boolean) {
return this.credentialService.deleteById(credentialId, deleteAssociatedCredential)
public async deleteById(credentialId: string, options?: { deleteAssociatedCredential: boolean }) {
return this.credentialService.deleteById(credentialId, options)
}

private registerHandlers(dispatcher: Dispatcher) {
Expand Down

0 comments on commit dda7ca0

Please sign in to comment.