fix: Replace getMagnetData with getMagnetHealth in references and implementations

This commit is contained in:
ChristoferMendes 2024-05-12 21:06:02 -03:00
parent 6b9f902b2c
commit 27bff9d2e6
7 changed files with 15 additions and 15 deletions

View file

@ -112,5 +112,5 @@ contextBridge.exposeInMainWorld("electron", {
showOpenDialog: (options: Electron.OpenDialogOptions) =>
ipcRenderer.invoke("showOpenDialog", options),
platform: process.platform,
getMagnetData: (magnet: string) => ipcRenderer.invoke("getMagnetData", magnet),
getMagnetHealth: (magnet: string) => ipcRenderer.invoke("getMagnetHealth", magnet),
});