refactor: rename DTree to DValue
This commit is contained in:
@@ -4,8 +4,8 @@ COMPONENT(Request& context)
|
||||
{
|
||||
context.call["app"]["page_type"] = "json";
|
||||
|
||||
DTree response;
|
||||
DTree body = json_decode(context.in);
|
||||
DValue response;
|
||||
DValue body = json_decode(context.in);
|
||||
if(context.params["REQUEST_METHOD"] == "POST" && body["oauth_service"].to_string() != "" && body["oauth_state"].to_string() != "")
|
||||
{
|
||||
context.session["oauth_service"] = body["oauth_service"].to_string();
|
||||
|
||||
Reference in New Issue
Block a user