#441 add new pushy app id (#442)

Co-authored-by: neil molina <neil@neils-MacBook-Pro.local>
This commit is contained in:
Neil 2023-04-12 14:12:50 +08:00 committed by GitHub
parent e7bdad8027
commit f00dbb9f73
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 });