Closed rajdip-b closed 9 months ago
@sharmaudit124 okei so, in this one, I would like you to create a scheduled function that calls itself every hour. you can refer to nestjs scheduling docs to understand how its done. The scheduled function would go through all the otps, and delete the ones that are expired
@rajdip-b can I work on this issue
Hey sure!! @lakshay-saini-au8
:tada: This issue has been resolved in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Description
The OTPs have a validity of 5 minutes now. We would like a scheduled task to run every 1 hour and clean up such OTPs