From a80f6b59597b4db4e28db2bc98a7f526d4fa3779 Mon Sep 17 00:00:00 2001 From: EntireTwix Date: Mon, 19 Apr 2021 03:23:46 -0700 Subject: [PATCH] fixed allusers --- include/bank.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bank.hpp b/include/bank.hpp index 9a199ba..5ccf018 100644 --- a/include/bank.hpp +++ b/include/bank.hpp @@ -157,7 +157,7 @@ public: //we know it contains this key but we call this func to grab mutex temp[i++]["name"] = u.first; users.if_contains(u.first, [&temp, i](const User &u) { - temp[i]["balance"] = u.balance; + temp[i]["balance"] = (Json::UInt)u.balance; }); } return temp;