Skip to content

Commit

Permalink
fix: announcements being returned instead of clientId
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronm-2112 committed Jan 21, 2024
1 parent 9408702 commit 655b18d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 162 deletions.
1 change: 1 addition & 0 deletions src/main/analytics.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const kombuchaServer = axios.create({
let userId;
try {
userId = nodeStorage.getItem("userId");
console.log("User id is: ", userId)
} catch (e) {
userId = null;
}
Expand Down
5 changes: 3 additions & 2 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,12 @@ ipcMain.handle("app-version", () => {
return app.getVersion();
})

ipcMain.handle("set-nodestorage-key", (key, value) => {
ipcMain.handle("set-nodestorage-key", (event, key, value) => {
return nodeStorage.setItem(key, value);
})

ipcMain.handle("get-nodestorage-key", (key) => {
ipcMain.handle("get-nodestorage-key", (event, key) => {
console.log("The key is: ", key)
return nodeStorage.getItem(key);
})

Expand Down
160 changes: 0 additions & 160 deletions src/renderer/src/scripts/analytics/analytics.js

This file was deleted.

0 comments on commit 655b18d

Please sign in to comment.