Fixes
This commit is contained in:
@@ -67,8 +67,8 @@ void CSiaApi::_CSiaRenter::Refresh(const CSiaCurl& siaCurl, CSiaDriveConfig* sia
|
||||
{
|
||||
{
|
||||
json result;
|
||||
SiaCurlError cerror = GetSiaCurl().Get(L"/renter/prices", {}, result);
|
||||
_storageterabytemonth = (ApiSuccess(cerror)) ? result["storageterabytemonth"].get<std::string>() : 0;
|
||||
SiaCurlError cerror = siaCurl.Get(L"/renter/prices", {}, result);
|
||||
_storageterabytemonth = ApiSuccess(cerror) ? result["storageterabytemonth"].get<std::string>() : "";
|
||||
}
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user