"/hearthstone/cards" Endpoint Fails to Return Heroes

Summary:
The endpoint “/hearthstone/cards” does not return any heroes when the parameter “tier” is set to ‘hero’ as specified in the documentation.

Description:
When making a GET request to the “/hearthstone/cards” endpoint and including the “tier” parameter with the value ‘hero’, the expected behavior is to retrieve all the heroes. However, the API is not returning any heroes, resulting in an empty response.

Steps to Reproduce:

Make a GET request to the endpoint "/hearthstone/cards".
Include the parameter "tier" with the value 'hero'.

Expected Result:
The API should return a list of all the heroes available in the Hearthstone card collection.

Actual Result:
The API responds with an empty result. No heroes are returned despite setting the “tier” parameter to ‘hero’.

Workaround:
As a temporary workaround, users can omit the “tier” parameter when requesting all heroes. Alternatively, clients can retrieve all cards and filter the response on their end to extract only the heroes.

Please investigate and address this issue promptly to restore the expected functionality of the endpoint.

If you require any further information or clarification, please let me know.

I’ve got the same problem. What is the solution?