mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 16:42:13 +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)
|
for (const auto &u : users)
|
||||||
{
|
{
|
||||||
//we know it contains this key but we call this func to grab mutex
|
//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;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue