From 8eca067aedaddf28a45989e12070c59a961a86c2 Mon Sep 17 00:00:00 2001 From: Chubby Granny Chaser Date: Fri, 28 Jun 2024 22:01:42 +0100 Subject: [PATCH] ci: fix sentry variable --- src/main/events/auth/open-auth-window.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/events/auth/open-auth-window.ts b/src/main/events/auth/open-auth-window.ts index 5b9a4055..e93a5a42 100644 --- a/src/main/events/auth/open-auth-window.ts +++ b/src/main/events/auth/open-auth-window.ts @@ -1,8 +1,7 @@ import { registerEvent } from "../register-event"; import { WindowManager } from "@main/services"; -const openAuthWindow = async (_event: Electron.IpcMainInvokeEvent) => { - throw new Error("sentry"); -}; +const openAuthWindow = async (_event: Electron.IpcMainInvokeEvent) => + WindowManager.openAuthWindow(); registerEvent("openAuthWindow", openAuthWindow);