Skip to content

Commit 5f1d4e9

Browse files
authored
Merge pull request frappe#38325 from frappe/ankush-patch-1
fix: Skip nulls in `client.get`
2 parents c9cb986 + 9e68731 commit 5f1d4e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frappe/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def get(
114114
doc.check_permission()
115115
doc.apply_fieldlevel_read_permissions()
116116

117-
return doc.as_dict()
117+
return doc.as_dict(no_nulls=True)
118118

119119

120120
@frappe.whitelist()

0 commit comments

Comments
 (0)