summaryrefslogtreecommitdiff
path: root/src/web
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-01-20 14:42:39 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-01-20 14:42:39 +0900
commitca222eaa0c107144d422665e54f357f811583144 (patch)
tree361e31b9fa8c7ea17e923b0c1dd5a16e52fab99e /src/web
parentFix bug (diff)
downloadmisskey-ca222eaa0c107144d422665e54f357f811583144.tar.gz
misskey-ca222eaa0c107144d422665e54f357f811583144.tar.bz2
misskey-ca222eaa0c107144d422665e54f357f811583144.zip
Fix bug
Diffstat (limited to 'src/web')
-rw-r--r--src/web/service/twitter/begin.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/service/twitter/begin.ts b/src/web/service/twitter/begin.ts
index dcfe1611cf..675848f5ac 100644
--- a/src/web/service/twitter/begin.ts
+++ b/src/web/service/twitter/begin.ts
@@ -9,7 +9,7 @@ const client = new Twitter({
});
module.exports = (req: express.Request, res: express.Response) => {
- client.get('oauth/request_token', (x, y, z) => {
+ client.post('oauth/request_token', (x, y, z) => {
console.log(x);
console.log(y);
console.log(z);