summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Bot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Bot.cpp b/src/Bot.cpp
index 080b9a2..566f041 100644
--- a/src/Bot.cpp
+++ b/src/Bot.cpp
@@ -8,7 +8,7 @@
namespace TgBot {
-Bot::Bot(std::string token, const HttpClient& httpClient, const std::string& url)
+Bot::Bot(std::string token, const std::string& url, const HttpClient& httpClient)
: _token(std::move(token))
, _api(_token, httpClient, url)
, _eventBroadcaster(std::make_unique<EventBroadcaster>())