Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cpplib/src/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ using namespace Maestro;
using json = nlohmann::json;

Client::Client() {
this->status = "creating";
this->status = "pending";
this->ping_interval = 30;
this->running_matches = 0;
}

Client::Client(std::string maestro_api_url) {
this->status = "creating";
this->status = "pending";
this->ping_interval = 30;
this->running_matches = 0;
this->maestro_api_url = maestro_api_url;
Expand All @@ -36,7 +36,7 @@ Client::Client(std::string maestro_api_url) {
}

Client::Client(std::string maestro_api_url, int ping_interval) {
this->status = "creating";
this->status = "pending";
this->running_matches = 0;
this->maestro_api_url = maestro_api_url;
this->ping_interval = ping_interval;
Expand Down