'use strict'

const _ = require('lodash')

module.exports = (app) => {
  app.get('/reverse', (req, res) => {
    if (req.query.token !== 'zRWY8EfErKj8vIYiR5Nl9i91') {
      return res.sendStatus(409)
    }

    res.json({
      response_type: 'in_channel',
      text: _.reverse(req.query.text)
    })
  })
}
@@ -76,22 +76,20 @@
 p.get('/
-revers
+snak
 e', (req
@@ -266,13 +266,15 @@
 : _.
-rever
+snakeCa
 se(r

replace reverse with snake endpoint