default write key to empty

This commit is contained in:
Jeffrey Morgan 2023-07-06 17:46:40 -04:00
parent b9a186c820
commit 45bf83ff58

View file

@ -4,7 +4,7 @@ import { v4 as uuidv4 } from 'uuid'
const Store = require('electron-store')
const store = new Store()
export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY })
export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY || '' })
export function id(): string {
const id = store.get('id')