1
0
Fork 0
mirror of synced 2024-06-27 02:20:35 +12:00
This commit is contained in:
kevmodrome 2020-12-16 15:22:31 +01:00
parent b472ad0c63
commit a9aa68c7bf
No known key found for this signature in database
GPG key ID: 828D8FE4D235B551

View file

@ -45,17 +45,16 @@ async function identifyByApiKey(apiKey) {
)
if (response.status === 200) {
const id = await response.json()
await api.put("/api/keys/userId", { value: id })
identify(id)
return true
}
return false
} catch (error) {
console.log(error)
}
}
function captureException(err) {