rename username parameter to userId

This commit is contained in:
Zamitto 2024-06-16 19:51:09 -03:00
parent 05cb66f2a4
commit d048d562a3
6 changed files with 9 additions and 9 deletions

View file

@ -130,7 +130,7 @@ contextBridge.exposeInMainWorld("electron", {
getMe: () => ipcRenderer.invoke("getMe"),
/* User */
getUser: (username: string) => ipcRenderer.invoke("getUser", username),
getUser: (userId: string) => ipcRenderer.invoke("getUser", userId),
/* Auth */
signout: () => ipcRenderer.invoke("signout"),