Skip to content

Commit

Permalink
revert(routes): miscommit
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Dec 31, 2018
1 parent 5b205b5 commit 9198e47
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,15 +275,6 @@ function mainRoutes(router, middleware, controllers) {
res.send('OK');
});

var formidable = require('express-formidable');

router.post('/debug/sendgrid', formidable(), function(req, res) {
console.log(req.fields);
console.log('---------');
console.log(req.fields.to);
return res.send();
});

router.get('/debug/cache/refresh', function (req, res) {
var _ = require('lodash');

Expand Down

0 comments on commit 9198e47

Please sign in to comment.