mirror of
https://github.com/ivabus/gui
synced 2025-04-23 14:07:14 +03:00
Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
parent
e7bdad8027
commit
f00dbb9f73
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ import { app } from "electron";
|
|||
export default function initialize(mainWindow: BrowserWindow) {
|
||||
Pushy.listen();
|
||||
// Register device for push notifications
|
||||
Pushy.register({ appId: "64110fb47446e48a2a0e906d" })
|
||||
Pushy.register({ appId: "643647948f3b62fb34b29989" })
|
||||
.then(async (push_token) => {
|
||||
const { device_id } = await readSessionData();
|
||||
if (device_id) await post(`/auth/device/${device_id}/register-push-token`, { push_token });
|
||||
|
|
Loading…
Reference in a new issue