// env
env,
// handler
- async nodemailer => {
+ async nodemailers => {
// do not bother trying to coerce and/or validate
// too complex and nested (do it when we have an automated routine)
if (!await account.get_json('administrator'))
throw new Problem('Unauthorized', 'Not administrator.', 401)
- root.set_json('nodemailer', nodemailer)
+ root.set_json('nodemailers', nodemailers)
await transaction.commit()
}
catch (error) {