UNPKG

@wmfs/tymly-pg-plugin

Version:

Replace Tymly's out-the-box memory storage with PostgreSQL

12 lines (10 loc) 293 B
'use strict' module.exports = class Walking { run (event, context) { console.log('WALKING....') event.petDiary.push(`${event.petName} is walking... where's ${event.gender === 'male' ? 'he' : 'she'} off to?`) context.sendTaskSuccess({ petDiary: event.petDiary }) } }