79272245

Date: 2024-12-11 15:27:43
Score: 1
Natty:
Report link

Although this post is from a year ago, I faced the same issue today and couldn't find a solution anywhere. My colleague and I were able to resolve it. The fix is to change the ttl parameter from a number to an object:

await this.cacheManager.set(keyRfToken, refreshToken, {ttl: 2000} as any)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: tsiwant