Currently it is not possible to use this keyword in retried method:
@withRetry({
errors: [ErrorOnWhichWeShouldRetry],
maxCalls: 10,
delay: 1000,
})
async offerEmailCredential(connectionId: string, email: string) {
const offerCredentialData = JSON.stringify({
issuerDid: this.configService.get<string>('prism.prismIssuerDid'),
connectionId,
attrClaims: [
{
name: 'email',
value: email
}
]
});
....
}
This returns Cannot read properties of undefined (reading 'configService'). It is very often used with Nestjs
Currently it is not possible to use this keyword in retried method:
This returns
Cannot read properties of undefined (reading 'configService'). It is very often used with Nestjs