in src/reactivate-recurring-reminder/lambda/local.ts [9:30]
function runLocal() {
console.log(__dirname);
process.env.Stage = 'DEV';
const event = {
path: '/reactivate',
headers: {},
body: JSON.stringify({
reminderCode: 'reminderCode',
}),
} as APIGatewayProxyEvent;
run(event)
.then((result) => {
console.log('============================');
console.log('Result: ', result);
})
.catch((err) => {
console.log('============================');
console.log('Failed to run locally: ', err);
});
}