async function subscriberUpdated(subscriber) {
  const trackDb = cloudant.use(dbName)
  subscriber.lastUpdate = new Date()
  await trackDb.insert(subscriber)
}
// A subscription Email has been sent, avoid sending at the incorrect frequency
A subscription Email has been sent, avoid sending at the incorrect frequency
A subscription Email has been sent avoid sending at the incorrect frequency
async function subscriberUpdated(subscriber) {
  const trackDb = cloudant.use(dbName)
  subscriber.lastUpdate = new Date()
  await trackDb.insert(subscriber)
}
async function subscriberUpdated ( subscriber ) { const trackDb = cloudant . use ( dbName ) subscriber . lastUpdate = new Date ( ) await trackDb . insert ( subscriber ) }
A subscription Email has been sent, avoid sending at the incorrect frequency
A subscription Email has been sent avoid sending at the incorrect frequency