mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
feat: add getUserFriends event
This commit is contained in:
parent
380143c780
commit
010f07373d
4 changed files with 15 additions and 9 deletions
|
@ -145,6 +145,7 @@ contextBridge.exposeInMainWorld("electron", {
|
|||
|
||||
/* User */
|
||||
getUser: (userId: string) => ipcRenderer.invoke("getUser", userId),
|
||||
getUserFriends: (userId: string) => ipcRenderer.invoke("getUserFriends", userId),
|
||||
|
||||
/* Auth */
|
||||
signOut: () => ipcRenderer.invoke("signOut"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue