mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
⚡ updated ApiProperties
This commit is contained in:
parent
0c15121ef0
commit
9212edb9a3
1 changed files with 2 additions and 2 deletions
|
|
@ -214,10 +214,10 @@ 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((bool)RETURN_ON_DEL);
|
||||
std::string info = "{\"version\":" + std::to_string(API_VERSION) + ",\"max_log\":" + std::to_string(MAX_LOG_SIZE);
|
||||
if constexpr (RETURN_ON_DEL)
|
||||
{
|
||||
info += ",\"" + std::string(return_account) + "\"}";
|
||||
info += ",\"return_on_del\":\"" + std::string(return_account) + "\"}";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue