diff options
| author | Aotrix <[email protected]> | 2025-03-25 23:15:36 +0100 |
|---|---|---|
| committer | Aotrix <[email protected]> | 2025-03-25 23:15:36 +0100 |
| commit | 4417e2a50e0ae34abf68039ecd03975b463bdb50 (patch) | |
| tree | b6f0a091716855e268642cf568c75b81d7c3863d /src/main.cpp | |
| parent | b83b136b5f8d16172dfaf0c91c65e446096c9696 (diff) | |
gave some freedom to card choice
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp index 89cf782..27397f0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -10,8 +10,8 @@ int main() { pqxx::work tx{cx}; const unsigned int card_id = 217; - std::string card = hs_handler.get_cards( - std::format("{}?locale=fr_FR&gameMode=constructed", card_id)); + std::string card = + hs_handler.get_cards(std::format("/{}?locale=fr_FR", card_id)); std::cout << card << std::endl; add_cards_to_database(card, tx); |
