summaryrefslogtreecommitdiff
path: root/battleNetApi/include/hearthstoneApi.hpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2026-04-19 18:16:14 +0200
committerAotrix <[email protected]>2026-04-19 18:16:14 +0200
commitcc436cb44c60ef2485321e1e22b3ea0a59ee22af (patch)
treeb04464945278bcdc8915d8b3676b504a95e3f701 /battleNetApi/include/hearthstoneApi.hpp
parent8837de4783b25255b6a1799be210c9e580dd2d4f (diff)
TokenPool now works
Diffstat (limited to 'battleNetApi/include/hearthstoneApi.hpp')
-rw-r--r--battleNetApi/include/hearthstoneApi.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/battleNetApi/include/hearthstoneApi.hpp b/battleNetApi/include/hearthstoneApi.hpp
index f2bdf04..59cd336 100644
--- a/battleNetApi/include/hearthstoneApi.hpp
+++ b/battleNetApi/include/hearthstoneApi.hpp
@@ -11,7 +11,7 @@ class HearthstoneApi {
static json makeApiRequest(const ApiUrl &iApiUrl, const std::string &iTokenText);
static std::vector<json> makeApiRequest(const std::vector<ApiUrl> &iApiUrls, const std::string &iTokenText);
static std::vector<json> makeApiRequest(const std::vector<std::string> &iUrls, const std::string &iTokenText);
- static json downloadCards(ApiUrl &iApiUrl, Token &iToken);
+ static json downloadCards(ApiUrl iApiUrl, const Token &iToken);
private:
static std::string authorizationHeader(const std::string &iTokenText);