Skip to content

Commit

Permalink
fix: usage report id (#280)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianoventura authored Oct 25, 2024
1 parent 1a4078b commit 422a6f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usageReport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const filePath = path.join(app.getPath('userData'), filename)

export const getOrSetInstallationId = async () => {
if (!existsSync(filePath)) {
const id = self.crypto.randomUUID()
const id = crypto.randomUUID()
await writeFile(filePath, id)
return id
}
Expand Down

0 comments on commit 422a6f9

Please sign in to comment.