mirror of
https://github.com/yawaflua/LuckyDiamond.git
synced 2025-12-10 04:09:29 +02:00
delete await
This commit is contained in:
@@ -213,13 +213,13 @@ export default {
|
||||
}
|
||||
},
|
||||
},
|
||||
async created() {
|
||||
created() {
|
||||
const AUTHTOKEN = GetCookie('AUTHTOKEN')
|
||||
const SEARCHTOKEN = GetCookie('SearchToken')
|
||||
|
||||
if (AUTHTOKEN !== null && SEARCHTOKEN !== null) {
|
||||
try {
|
||||
await GetUserData(AUTHTOKEN, SEARCHTOKEN)
|
||||
GetUserData(AUTHTOKEN, SEARCHTOKEN)
|
||||
.then(response => {
|
||||
console.log(response)
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user