@wmfs/tymly-pg-plugin
Version:
Replace Tymly's out-the-box memory storage with PostgreSQL
16 lines (13 loc) • 338 B
JavaScript
module.exports = class Saluting {
init (resourceConfig, env, callback) {
callback(null)
}
run (event, context) {
console.log('SALUTING!!!!', context.executionName)
event.petDiary.push(`It looks like ${event.petName} is saluting!`)
context.sendTaskSuccess({
petDiary: event.petDiary
})
}
}