summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAotrix <[email protected]>2025-03-08 23:13:49 +0100
committerAotrix <[email protected]>2025-03-08 23:13:49 +0100
commit9c280e05547671aa346530c4c7c0ddbc4729348f (patch)
tree3ef3c21d14c8b8c72c8d63c68e0c6d20a6ad835b /src/main.cpp
parent61425111dc8ac7aca986d87b524d7d4647306e2d (diff)
added std::string output
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
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"};