fix: don't export "lft" and "rgt" fields
This commit is contained in:
parent
aa06b63eb6
commit
52d78ab495
1 changed files with 1 additions and 1 deletions
|
|
@ -211,7 +211,7 @@ def export_json(
|
|||
doctype, path, filters=None, or_filters=None, name=None, order_by="creation asc"
|
||||
):
|
||||
def post_process(out):
|
||||
del_keys = ("modified_by", "creation", "owner", "idx")
|
||||
del_keys = ("modified_by", "creation", "owner", "idx", "lft", "rgt")
|
||||
for doc in out:
|
||||
for key in del_keys:
|
||||
if key in doc:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue