Fix bug
This commit is contained in:
parent
48822506f2
commit
44b6ddb262
1 changed files with 3 additions and 1 deletions
|
@ -9,7 +9,9 @@ const client = new Twitter({
|
||||||
});
|
});
|
||||||
|
|
||||||
module.exports = (req: express.Request, res: express.Response) => {
|
module.exports = (req: express.Request, res: express.Response) => {
|
||||||
client.post('oauth/request_token', (x, y, z) => {
|
client.post('oauth/request_token', {
|
||||||
|
oauth_callback: config.url + '/tw/cb'
|
||||||
|
}, (x, y, z) => {
|
||||||
console.log(x);
|
console.log(x);
|
||||||
console.log(y);
|
console.log(y);
|
||||||
console.log(z);
|
console.log(z);
|
||||||
|
|
Loading…
Reference in a new issue