diff options
Diffstat (limited to 'src/server/routes/slack.js')
-rw-r--r-- | src/server/routes/slack.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/routes/slack.js b/src/server/routes/slack.js index 7f1b102..8b6ba5a 100644 --- a/src/server/routes/slack.js +++ b/src/server/routes/slack.js @@ -1,11 +1,11 @@ const express = require('express') const router = express.Router() -const request = require('request') -const iconv = require('iconv-lite') -router.post('/', function (req, res, next) { - console.log(req); - res.end('Will be implemented soon™!'); +router.all('/', function (req, res, next) { + res.json({ + "response_type": "in_channel", + "text": "Will be implemented soon™!" + }) }) module.exports = router |