delete await

This commit is contained in:
Hepatica
2024-01-21 03:28:36 +01:00
parent c30dbd9326
commit 29806252e3

View File

@@ -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)
})