diff --git a/package.json b/package.json index 829a88f..b249964 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-log-extension-tools", - "version": "1.3.7", + "version": "1.3.8", "description": "A set of tools for logging", "main": "src/index.js", "dependencies": { diff --git a/src/stream.js b/src/stream.js index e128dbe..8876083 100644 --- a/src/stream.js +++ b/src/stream.js @@ -47,7 +47,7 @@ LogsApiStream.prototype.done = function() { LogsApiStream.prototype.next = function(take) { const self = this; const logger = this.options.logger; - const perPage = (!self.options.types || !self.options.types.length) ? take : 100; + const perPage = take; if (self.remaining < 1) { self.status.warning = 'Auth0 Management API rate limit reached.';