Update frappeclient.py (#3127)
Pass the fields independent of the filters in get_doc
This commit is contained in:
parent
3d78df3712
commit
a346d3385a
1 changed files with 2 additions and 2 deletions
|
|
@ -165,8 +165,8 @@ class FrappeClient(object):
|
|||
params = {}
|
||||
if filters:
|
||||
params["filters"] = json.dumps(filters)
|
||||
if fields:
|
||||
params["fields"] = json.dumps(fields)
|
||||
if fields:
|
||||
params["fields"] = json.dumps(fields)
|
||||
|
||||
res = self.session.get(self.url + "/api/resource/" + doctype + "/" + name,
|
||||
params=params, verify=self.verify)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue