Skip to content
Snippets Groups Projects
Commit 05a918b7 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman :boom:
Browse files

Fixed an error when there is no data to retrieve from a channel.

parent 0719283e
No related merge requests found
......@@ -91,6 +91,10 @@ const sharedCallbacks = {
const { stream } = data;
subscriptions.filter(({ channelName, params }) => {
if (!stream || stream.length <= 0) {
return false;
}
const streamChannelName = stream[0];
if (stream.length === 1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment