mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-21 01:53:57 +00:00
feat: use new endpoint to get compared achievements
This commit is contained in:
@@ -259,6 +259,17 @@ contextBridge.exposeInMainWorld("electron", {
|
||||
getUserStats: (userId: string) => ipcRenderer.invoke("getUserStats", userId),
|
||||
reportUser: (userId: string, reason: string, description: string) =>
|
||||
ipcRenderer.invoke("reportUser", userId, reason, description),
|
||||
getComparedUnlockedAchievements: (
|
||||
objectId: string,
|
||||
shop: GameShop,
|
||||
userId: string
|
||||
) =>
|
||||
ipcRenderer.invoke(
|
||||
"getComparedUnlockedAchievements",
|
||||
objectId,
|
||||
shop,
|
||||
userId
|
||||
),
|
||||
|
||||
/* Auth */
|
||||
signOut: () => ipcRenderer.invoke("signOut"),
|
||||
|
||||
Reference in New Issue
Block a user