mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-16 16:12:14 +11:00
🐛 RETURN_ON_DEL should return bool
This commit is contained in:
parent
c2d8742138
commit
eb282de108
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ void api::AdminVerifyAccount(req_args) const
|
|||
}
|
||||
void api::ApiProperties(req_args) const
|
||||
{
|
||||
std::string info = "{\"version\":" + std::to_string(API_VERSION) + ",\"max_log\":" + std::to_string(MAX_LOG_SIZE) + ",\"return_on_del\":" + std::to_string(RETURN_ON_DEL);
|
||||
std::string info = "{\"version\":" + std::to_string(API_VERSION) + ",\"max_log\":" + std::to_string(MAX_LOG_SIZE) + ",\"return_on_del\":" + std::to_string((bool)RETURN_ON_DEL);
|
||||
if constexpr (RETURN_ON_DEL)
|
||||
{
|
||||
info += ",\"" + std::string(return_account) + "\"}";
|
||||
|
|
|
|||
Loading…
Reference in a new issue