UNPKG

minapi

Version:

Minimum viable API w/ authentication and permissions, CRUD and resource management

13 lines (8 loc) 198 B
module.exports = ({ client, helpers }) => { let email = {} email.send = async (values) => { values = helpers.filterEmailValues(values) return client.sendEmail(values) } return email }