all files / example/modules/blog/actions/ overwrite.js

33.33% Statements 1/3
100% Branches 0/0
100% Functions 0/0
33.33% Lines 1/3
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15                           
'use strict'
 
module.exports = [ {
  name: 'test',
  description: 'Just to test overwrite protection',
 
  run: (engine, data, next) => {
    // define a response var
    data.response.string = "overwrite"
 
    // end the action execution
    next()
  }
} ]