Skip to content

Commit

Permalink
fix: corrected regression in the query toJson logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tglman committed Oct 2, 2024
1 parent e97d8e4 commit 3ed4ea0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ public Object execute(
}
if (iThis instanceof OResult) {
if (format != null) {
return ((OResult) iThis).toJSON();
return ((OResult) iThis).toElement().toJSON(format);
} else {
((OResult) iThis).toElement().toJSON(format);
return ((OResult) iThis).toJSON();
}
} else if (iThis instanceof ORecord) {

Expand Down

0 comments on commit 3ed4ea0

Please sign in to comment.