diff --git a/src/getstream.js b/src/getstream.js index 8de88f3a..ea04bcb6 100644 --- a/src/getstream.js +++ b/src/getstream.js @@ -31,7 +31,7 @@ function connect(apiKey, apiSecret, appId, options) { if (typeof process !== 'undefined' && process.env.STREAM_URL && !apiKey) { var parts = /https:\/\/(\w+):(\w+)@([\w-]*).*\?app_id=(\d+)/.exec( process.env.STREAM_URL, - ); // eslint-disable-line no-useless-escape + ); apiKey = parts[1]; apiSecret = parts[2]; var location = parts[3];