fix: Skip nulls in client.get

This makes it consistent with `load.getdoc`
This commit is contained in:
Ankush Menat 2026-03-30 12:08:28 +05:30 committed by GitHub
parent c9cb986b5b
commit 9e687317a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -114,7 +114,7 @@ def get(
doc.check_permission()
doc.apply_fieldlevel_read_permissions()
return doc.as_dict()
return doc.as_dict(no_nulls=True)
@frappe.whitelist()