mirror of
https://github.com/FranP-code/Open-Telegram-to-Notion-Website.git
synced 2025-10-13 00:42:53 +00:00
Auth secret code handling bugfix
This commit is contained in:
@@ -39,8 +39,7 @@ function Auth() {
|
||||
data: {code: temporalCode}
|
||||
})
|
||||
.then(res => {
|
||||
console.log(res)
|
||||
setPermanentCode(res ? res.data : null)
|
||||
setPermanentCode(res ? res.data.access_token : null)
|
||||
})
|
||||
.catch(err => {
|
||||
console.log(err.response)
|
||||
|
||||
Reference in New Issue
Block a user