overleaf/services/web/scripts/process_lapsed_reconfirmations.js
Jessica Lawshe 2bf126af68 Merge pull request #3993 from overleaf/jel-reconfirmation-script
Add script to refresh features for users not reconfirmed

GitOrigin-RevId: d49f496dc6f1997763d54c6d8f41f7c3634b8b2d
2021-05-12 02:09:51 +00:00

10 lines
282 B
JavaScript

const InstitutionsReconfirmationHandler = require('../app/src/Features/Institutions/InstitutionsReconfirmationHandler')
InstitutionsReconfirmationHandler.processLapsed()
.then(() => {
process.exit(0)
})
.catch(error => {
console.error(error)
process.exit(1)
})