mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
rename username parameter to userId
This commit is contained in:
parent
05cb66f2a4
commit
d048d562a3
6 changed files with 9 additions and 9 deletions
|
@ -7,10 +7,10 @@ import { getSteamAppAsset } from "@main/helpers";
|
|||
|
||||
const getUser = async (
|
||||
_event: Electron.IpcMainInvokeEvent,
|
||||
username: string
|
||||
userId: string
|
||||
): Promise<UserProfile | null> => {
|
||||
try {
|
||||
const response = await HydraApi.get(`/user/${username}`);
|
||||
const response = await HydraApi.get(`/user/${userId}`);
|
||||
const profile = response.data;
|
||||
|
||||
const recentGames = await Promise.all(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue