Closed L-Mario564 closed 1 month ago
I suppose the cron itself that triggers this endpoint isn't implemented yet? Otherwise looks good to me
I suppose the cron itself that triggers this endpoint isn't implemented yet? Otherwise looks good to me
That's correct, I'll be setting up any cron jobs closer to production.
Addresses #72.
This endpoint is only meant to be used in cron jobs. For that reason, I've added an authorization header with the format
Cron {CRON_SECRET}
.The endpoint itself deletes expired sessions older than 7 days. This was implemented for greater compliance with GDPR.