Commit d43114ae by Chavee Issariyapat

fix on_offlice webhook crash by adding res.send()

parent 9c233f79
...@@ -5,6 +5,9 @@ module.exports = function (options = {}) { ...@@ -5,6 +5,9 @@ module.exports = function (options = {}) {
return function (req, res, next) { return function (req, res, next) {
console.log('auth_on_offline') console.log('auth_on_offline')
doRedis(req.body.client_id) doRedis(req.body.client_id)
res.status(200);
res.send('');
} }
function doRedis(client_id) { function doRedis(client_id) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment