Skip to content

Commit

Permalink
fix BetterInfoOnline on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton authored Dec 7, 2023
1 parent 06ef75c commit 707a2e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/BetterInfoOnline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void BetterInfoOnline::loadScores(int accountID, bool force){
web::AsyncWebRequest()
.userAgent("")
.postRequest()
.postFields(fmt::format("gameVersion=21&binaryVersion=35&gdw=0&accountID={}&udid={}&type=relative&secret=Wmfd2893gb7", accountID, GameManager::sharedState()->m_playerUDID))
.postFields(fmt::format("gameVersion=21&binaryVersion=35&gdw=0&accountID={}&udid={}&type=relative&secret=Wmfd2893gb7", accountID, std::string(GameManager::sharedState()->m_playerUDID)))
.fetch("http://www.boomlings.com/database/getGJScores20.php")
.text()
.then([this, accountID](const std::string& response) {
Expand Down Expand Up @@ -119,4 +119,4 @@ void BetterInfoOnline::sendScoreToProfilePage(cocos2d::CCArray* scores, int acco
break;
}
}
}
}

0 comments on commit 707a2e9

Please sign in to comment.