Browse Source
Fix `useCurrentTeam` logic
NOTE: This option is not used anywhere as of right now
master
Matheus Fernandes
8 years ago
No known key found for this signature in database
GPG Key ID: DD07CA4EA7B65C4F
1 changed files with
1 additions and
1 deletions
-
lib/index.js
|
|
@ -848,7 +848,7 @@ module.exports = class Now extends EventEmitter { |
|
|
|
} |
|
|
|
|
|
|
|
_fetch(_url, opts = {}) { |
|
|
|
if (!opts.useCurrentTeam && this.currentTeam) { |
|
|
|
if (opts.useCurrentTeam !== false && this.currentTeam) { |
|
|
|
const parsedUrl = parseUrl(_url, true) |
|
|
|
const query = parsedUrl.query |
|
|
|
|
|
|
|