mirror of
https://github.com/Expand-sys/CCash
synced 2026-03-22 12:37:08 +11:00
reverted last two changes
This commit is contained in:
parent
2c8c3f2c9f
commit
be1ff5dc5c
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ INLINE Json::Value JsonReturn(T &&val)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
res["value"] = (long)val;
|
res["value"] = val;
|
||||||
}
|
}
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,7 +25,7 @@ struct User
|
||||||
Json::Value Serialize() const
|
Json::Value Serialize() const
|
||||||
{
|
{
|
||||||
Json::Value res;
|
Json::Value res;
|
||||||
res["balance"] = (long)balance;
|
res["balance"] = balance;
|
||||||
res["password"] = password;
|
res["password"] = password;
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue