mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: use new endpoint to get compared achievements
This commit is contained in:
parent
89bb099caa
commit
f0a2bf2f48
10 changed files with 291 additions and 203 deletions
|
@ -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"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue