From 73f946fd4a035112c64ab096be2fc29862c044db Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 9 Apr 2018 17:33:52 +0900 Subject: [PATCH] Fix bug --- package.json | 2 +- src/server/api/service/twitter.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 49a7d04e3..eb237a3d2 100644 --- a/package.json +++ b/package.json @@ -87,7 +87,7 @@ "accesses": "2.5.0", "animejs": "2.2.0", "autosize": "4.0.1", - "autwh": "0.0.1", + "autwh": "0.1.0", "bcryptjs": "2.4.3", "body-parser": "1.18.2", "bootstrap-vue": "2.0.0-rc.6", diff --git a/src/server/api/service/twitter.ts b/src/server/api/service/twitter.ts index da48e30a8..e51ce92ba 100644 --- a/src/server/api/service/twitter.ts +++ b/src/server/api/service/twitter.ts @@ -70,8 +70,7 @@ module.exports = (app: express.Application) => { const twAuth = autwh({ consumerKey: config.twitter.consumer_key, - consumerSecret: config.twitter.consumer_secret, - callbackUrl: `${config.api_url}/tw/cb` + consumerSecret: config.twitter.consumer_secret }); app.get('/connect/twitter', async (req, res): Promise => {