Skip to content

Commit 3f5e96b

Browse files
committed
Fix error in EventMonitorSpec with multiple filters
- change key name of multiple filters from `filters` to `eventFilters`
1 parent 9be6869 commit 3f5e96b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iconsdk/monitor.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_request(self) -> any:
8282
if len(self.__filters) == 1:
8383
self.__filters[0].apply_to(params)
8484
else:
85-
params["filters"] = list(map(lambda a: a.as_dict(), self.__filters))
85+
params["eventFilters"] = list(map(lambda a: a.as_dict(), self.__filters))
8686
return object_to_str(params)
8787

8888

0 commit comments

Comments
 (0)