-
-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
I read the code here:
zulip-js/src/events_wrapper.js
Line 42 in cee3387
| async function callOnEachEvent(callback, eventTypes = null) { |
I assume that the second parameter was optional, but omitting it produced a firehose of errors. Adding it back as an empty array stopped the errors. I'd be happy to submit a PR switching null to [] if that's helpful. Seems like null is not a valid value.
Metadata
Metadata
Assignees
Labels
No labels