Cleanup of expired organization invites

Hi, I've noticed that there are a few places where better-auth generates records e.g. organization invites where they expire. How does better-auth go about cleaning up expired records when they're created?
1 Reply
FalconiZzare
FalconiZzare5mo ago
I believe unused records are not cleaned up automatically as better auth doesn't run any scheduled worker on your project. You have to make these yourself.

Did you find this page helpful?