UNPKG

@wmfs/tymly-pg-plugin

Version:

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

12 lines (10 loc) 243 B
'use strict' module.exports = class Sleeping { run (event, context) { event.petDiary.push(`Sweet dreams ${event.petName}! x`) console.log('SLEEPING!!!!!!!!') context.sendTaskSuccess({ petDiary: event.petDiary }) } }