mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 05:24:55 +03:00
fix: returning hydra api call directly
This commit is contained in:
parent
0fc6d69851
commit
93fbf7657d
@ -13,15 +13,9 @@ const getHowLongToBeat = async (
|
||||
shop,
|
||||
});
|
||||
|
||||
const response = await HydraApi.get(
|
||||
`/games/how-long-to-beat?${params.toString()}`,
|
||||
null,
|
||||
{
|
||||
needsAuth: false,
|
||||
}
|
||||
);
|
||||
|
||||
return response;
|
||||
return HydraApi.get(`/games/how-long-to-beat?${params.toString()}`, null, {
|
||||
needsAuth: false,
|
||||
});
|
||||
};
|
||||
|
||||
registerEvent("getHowLongToBeat", getHowLongToBeat);
|
||||
|
Loading…
Reference in New Issue
Block a user