diff --git a/packages/core/src/modules/credentials/CredentialsModule.ts b/packages/core/src/modules/credentials/CredentialsModule.ts index 7f8be047ed..3823a42f8e 100644 --- a/packages/core/src/modules/credentials/CredentialsModule.ts +++ b/packages/core/src/modules/credentials/CredentialsModule.ts @@ -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) {