mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
allusers returns balance now
This commit is contained in:
parent
90c99d59be
commit
3f4f9e0fe2
1 changed files with 2 additions and 1 deletions
|
|
@ -155,7 +155,8 @@ public:
|
|||
for (const auto &u : users)
|
||||
{
|
||||
//we know it contains this key but we call this func to grab mutex
|
||||
temp[i++] = u.first;
|
||||
temp[i++]["name"] = u.first;
|
||||
temp[i]["balance"] = u.second.balance;
|
||||
}
|
||||
return temp;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue