Skip to content

Commit

Permalink
Merge branch 'master' of github.com:Cvolton/betterinfo-geode
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Dec 7, 2023
2 parents 38d7ee7 + 707a2e9 commit dc92a68
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 dc92a68

Please sign in to comment.