Commit 05a918b7 authored by Jeffrey Phillips Freeman's avatar Jeffrey Phillips Freeman 💥
Browse files

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

parent 0719283e
......@@ -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) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment