From 70ecb504314c1a02e979187924eb95a1753ea119 Mon Sep 17 00:00:00 2001 From: "greenkeeper[bot]" Date: Thu, 16 Feb 2017 08:35:34 +0000 Subject: [PATCH 1/2] fix(package): update gulp-typescript to version 3.1.5 https://greenkeeper.io/ --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 2e90a1cde..213381bed 100644 --- a/package.json +++ b/package.json @@ -103,7 +103,7 @@ "gulp-replace": "0.5.4", "gulp-stylus": "2.6.0", "gulp-tslint": "7.1.0", - "gulp-typescript": "3.1.4", + "gulp-typescript": "3.1.5", "gulp-uglify": "2.0.1", "gulp-util": "3.0.8", "inquirer": "3.0.1", From 508c1da792c5bf4dece617b26d0f20ce240e857f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?syuilo=E2=AD=90=EF=B8=8F?= Date: Thu, 16 Feb 2017 20:08:28 +0900 Subject: [PATCH 2/2] [Server] Fix bug --- src/api/service/github.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/service/github.ts b/src/api/service/github.ts index 1f3d5671a..13ceb87bf 100644 --- a/src/api/service/github.ts +++ b/src/api/service/github.ts @@ -23,6 +23,7 @@ module.exports = async (app: express.Application) => { app.post('/hooks/github', (req, res, next) => { if ((new Buffer(req.headers['x-hub-signature'])).equals(new Buffer('sha1=' + crypto.createHmac('sha1', config.github_bot.hook_secret).update(JSON.stringify(req.body)).digest('hex')))) { handler.emit(req.headers['x-github-event'], req.body); + res.sendStatus(200); } else { res.sendStatus(400); }