refactor: rename DTree to DValue
This commit is contained in:
@@ -9,9 +9,9 @@ COMPONENT(Request& context)
|
||||
return;
|
||||
}
|
||||
context.call["app"]["page_title"] = "Profile";
|
||||
DTree user = users.current();
|
||||
DValue user = users.current();
|
||||
String roles = "";
|
||||
user["roles"].each([&](DTree role, String key) {
|
||||
user["roles"].each([&](DValue role, String key) {
|
||||
if(roles != "")
|
||||
roles += ", ";
|
||||
roles += role.to_string();
|
||||
|
||||
Reference in New Issue
Block a user