diff --git a/streaming/index.js b/streaming/index.js index 67cd48b43..8b7477a44 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -430,7 +430,7 @@ const startWorker = (workerId) => { requiredScopes.push('read:statuses'); } - if (requiredScopes.some(requiredScope => req.scopes.includes(requiredScope))) { + if (req.scopes && requiredScopes.some(requiredScope => req.scopes.includes(requiredScope))) { resolve(); return; }