diff --git a/main/contactMothership.ts b/main/contactMothership.ts index 2f4159118..b05f0a9ea 100644 --- a/main/contactMothership.ts +++ b/main/contactMothership.ts @@ -39,6 +39,10 @@ export function getUrlAndTokenString(): Creds { return empty; } + if (!apiKey || !apiSecret || !errorLogUrl || !telemetryUrl) { + return empty; + } + return { errorLogUrl: encodeURI(errorLogUrl), telemetryUrl: encodeURI(telemetryUrl), diff --git a/package.json b/package.json index f464c5d0a..4f3402d01 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rukn-books", - "version": "0.48.1", + "version": "0.48.2", "description": "Simple book-keeping app for everyone", "author": { "name": "Rukn Software",