overleaf/services/web/scripts/process_lapsed_reconfirmations.js

11 lines
302 B
JavaScript
Raw Normal View History

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