From 9c280e05547671aa346530c4c7c0ddbc4729348f Mon Sep 17 00:00:00 2001 From: Aotrix Date: Sat, 8 Mar 2025 23:13:49 +0100 Subject: added std::string output --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 60c921f..90a4fe6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -19,7 +19,7 @@ void display_query_result(pqxx::result t_r) { int main() { HearthstoneAPIHandler hs_handler; - hs_handler.get_cards("678?locale=en_US"); + std::cout << hs_handler.get_cards("678?locale=en_US") << std::endl; pqxx::connection cx{ "postgresql://aotrix@localhost:5432/hearthstonegameinfo"}; -- cgit v1.2.3