From 8837de4783b25255b6a1799be210c9e580dd2d4f Mon Sep 17 00:00:00 2001 From: Aotrix <9aotrix@protonmail.com> Date: Sat, 18 Apr 2026 22:20:26 +0200 Subject: Replace operator() with text method --- battleNetApi/include/hearthstoneApi.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'battleNetApi/include/hearthstoneApi.hpp') diff --git a/battleNetApi/include/hearthstoneApi.hpp b/battleNetApi/include/hearthstoneApi.hpp index ecf785a..f2bdf04 100644 --- a/battleNetApi/include/hearthstoneApi.hpp +++ b/battleNetApi/include/hearthstoneApi.hpp @@ -8,7 +8,8 @@ using json = nlohmann::json; class HearthstoneApi { public: - static json makeApiRequest(const std::string &iUrl, const std::string &iTokenText); + static json makeApiRequest(const ApiUrl &iApiUrl, const std::string &iTokenText); + static std::vector makeApiRequest(const std::vector &iApiUrls, const std::string &iTokenText); static std::vector makeApiRequest(const std::vector &iUrls, const std::string &iTokenText); static json downloadCards(ApiUrl &iApiUrl, Token &iToken); -- cgit v1.2.3