mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-01-23 21:44: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,
|
shop,
|
||||||
});
|
});
|
||||||
|
|
||||||
const response = await HydraApi.get(
|
return HydraApi.get(`/games/how-long-to-beat?${params.toString()}`, null, {
|
||||||
`/games/how-long-to-beat?${params.toString()}`,
|
needsAuth: false,
|
||||||
null,
|
});
|
||||||
{
|
|
||||||
needsAuth: false,
|
|
||||||
}
|
|
||||||
);
|
|
||||||
|
|
||||||
return response;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
registerEvent("getHowLongToBeat", getHowLongToBeat);
|
registerEvent("getHowLongToBeat", getHowLongToBeat);
|
||||||
|
Loading…
Reference in New Issue
Block a user