mirror of
https://bitbucket.org/theswgsource/src-1.2.git
synced 2026-08-02 03:16:11 -04:00
for nullable types we'll need to create a proper function outside the template for them
This commit is contained in:
@@ -2877,11 +2877,11 @@ void CentralServer::sendMetricsToWebAPI()
|
||||
|
||||
#ifdef _DEBUG
|
||||
if (api.submit()) {
|
||||
bool status = api.getRespValue<bool>("status");
|
||||
bool status = api.getNullableValue<bool>("status");
|
||||
|
||||
if (status)
|
||||
{
|
||||
std::string message = api.getRespValue<std::string>("message");
|
||||
std::string message = api.getString("message");
|
||||
|
||||
if (message.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user