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}
|
data: {code: temporalCode}
|
||||||
})
|
})
|
||||||
.then(res => {
|
.then(res => {
|
||||||
console.log(res)
|
setPermanentCode(res ? res.data.access_token : null)
|
||||||
setPermanentCode(res ? res.data : null)
|
|
||||||
})
|
})
|
||||||
.catch(err => {
|
.catch(err => {
|
||||||
console.log(err.response)
|
console.log(err.response)
|
||||||
|
|||||||
Reference in New Issue
Block a user