forked from organicmaps/organicmaps
Changed UGC uploading URL scheme
This commit is contained in:
parent
7008796b3f
commit
fff9758f74
1 changed files with 8 additions and 3 deletions
11
map/user.cpp
11
map/user.cpp
|
@ -64,7 +64,11 @@ std::string UserDetailsUrl()
|
|||
if (kUGCServerUrl.empty())
|
||||
return {};
|
||||
|
||||
return kUGCServerUrl + "/user/reviews/";
|
||||
std::ostringstream ss;
|
||||
ss << kUGCServerUrl << "/"
|
||||
<< static_cast<int>(ReviewReceiverProtocol::LatestVersion)
|
||||
<< "/user/reviews/";
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
std::string ReviewReceiverUrl()
|
||||
|
@ -73,8 +77,9 @@ std::string ReviewReceiverUrl()
|
|||
return {};
|
||||
|
||||
std::ostringstream ss;
|
||||
ss << kUGCServerUrl << "/receive/"
|
||||
<< static_cast<int>(ReviewReceiverProtocol::LatestVersion) << "/";
|
||||
ss << kUGCServerUrl << "/"
|
||||
<< static_cast<int>(ReviewReceiverProtocol::LatestVersion)
|
||||
<< "/receive/";
|
||||
return ss.str();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue