fix: returning hydra api call directly

This commit is contained in:
Chubby Granny Chaser 2024-12-02 18:15:45 +00:00
parent 0fc6d69851
commit 93fbf7657d
No known key found for this signature in database

View File

@ -13,15 +13,9 @@ const getHowLongToBeat = async (
shop,
});
const response = await HydraApi.get(
`/games/how-long-to-beat?${params.toString()}`,
null,
{
return HydraApi.get(`/games/how-long-to-beat?${params.toString()}`, null, {
needsAuth: false,
}
);
return response;
});
};
registerEvent("getHowLongToBeat", getHowLongToBeat);