summaryrefslogtreecommitdiff
path: root/src/hearthstoneAPIHandler.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-03-25 23:15:36 +0100
committerAotrix <[email protected]>2025-03-25 23:15:36 +0100
commit4417e2a50e0ae34abf68039ecd03975b463bdb50 (patch)
treeb6f0a091716855e268642cf568c75b81d7c3863d /src/hearthstoneAPIHandler.cpp
parentb83b136b5f8d16172dfaf0c91c65e446096c9696 (diff)
gave some freedom to card choice
Diffstat (limited to 'src/hearthstoneAPIHandler.cpp')
-rw-r--r--src/hearthstoneAPIHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hearthstoneAPIHandler.cpp b/src/hearthstoneAPIHandler.cpp
index 5961e1f..7db7b04 100644
--- a/src/hearthstoneAPIHandler.cpp
+++ b/src/hearthstoneAPIHandler.cpp
@@ -108,7 +108,7 @@ HearthstoneAPIHandler::get_url(const std::string &t_parameters) {
const std::string HearthstoneAPIHandler::get_set_of_cards_url(
const std::string &t_card_parameters) {
- return get_url(std::format("cards/{}", t_card_parameters));
+ return get_url(std::format("cards{}", t_card_parameters));
}
std::string HearthstoneAPIHandler::make_api_request(const char *t_url,