mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 08:32:13 +11:00
fixed allusers
This commit is contained in:
parent
a0e7903e25
commit
13cafcca85
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,9 @@ public:
|
||||||
{
|
{
|
||||||
//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++]["name"] = u.first;
|
temp[i++]["name"] = u.first;
|
||||||
temp[i]["balance"] = u.second.balance;
|
users.if_contains(u.first, [&temp, i](const User &u) {
|
||||||
|
temp[i]["balance"] = u.balance;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
return temp;
|
return temp;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue