Skip to content

Commit

Permalink
fix field name "filters" in get_approval_info (wechatpy#760)
Browse files Browse the repository at this point in the history
  • Loading branch information
listeng authored Mar 29, 2023
1 parent f29ff5a commit f6dc104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wechatpy/work/client/api/oa.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def get_approval_info(self, start_time, end_time, cursor, size=100, filters=None
:return:
"""
data = optionaldict(
{"starttime": str(start_time), "endtime": str(end_time), "cursor": cursor, "size": size, "filter": filters}
{"starttime": str(start_time), "endtime": str(end_time), "cursor": cursor, "size": size, "filters": filters}
)

return self._post("oa/getapprovalinfo", data=data)
Expand Down

0 comments on commit f6dc104

Please sign in to comment.