accessToken 수신 로직에서 access_token 변수로 수정
This commit is contained in:
parent
8a9ad5fcf2
commit
c61d35a783
1 changed files with 1 additions and 2 deletions
|
|
@ -46,8 +46,7 @@ app.get("/token", async (req, res) => {
|
||||||
picture: userInfo.picture,
|
picture: userInfo.picture,
|
||||||
},
|
},
|
||||||
tokens: {
|
tokens: {
|
||||||
accessToken: tokenData.access_token,
|
accessToken: access_token,
|
||||||
scope: tokenData.scope,
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue