summaryrefslogtreecommitdiff
path: root/src/hearthstoneAPIHandler.cpp
diff options
context:
space:
mode:
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,