kevmodrome
6 years ago
No known key found for this signature in database
GPG Key ID: 828D8FE4D235B551
1 changed files with
2 additions and
3 deletions
-
packages/builder/src/analytics.js
|
|
|
@ -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) { |
|
|
|
|