Skip to content

Commit

Permalink
Fix error in EventMonitorSpec with multiple filters
Browse files Browse the repository at this point in the history
- change key name of multiple filters from `filters` to `eventFilters`
  • Loading branch information
eunsoo-icon committed Oct 31, 2023
1 parent 9be6869 commit 3f5e96b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iconsdk/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def get_request(self) -> any:
if len(self.__filters) == 1:
self.__filters[0].apply_to(params)
else:
params["filters"] = list(map(lambda a: a.as_dict(), self.__filters))
params["eventFilters"] = list(map(lambda a: a.as_dict(), self.__filters))
return object_to_str(params)


Expand Down

0 comments on commit 3f5e96b

Please sign in to comment.