From 50eed9b9eb068741bd3df9ac2dec1856246cfb53 Mon Sep 17 00:00:00 2001 From: David K Hite Date: Wed, 2 Oct 2019 13:05:32 -0700 Subject: [PATCH] Organizations.listMembers() used _request() instead of _requestAllPages(), unlike other similar methods. --- lib/Organization.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Organization.js b/lib/Organization.js index 0a8177b4..9bb9b53b 100644 --- a/lib/Organization.js +++ b/lib/Organization.js @@ -65,7 +65,7 @@ class Organization extends Requestable { * @return {Promise} - the promise for the http request */ listMembers(options, cb) { - return this._request('GET', `/orgs/${this.__name}/members`, options, cb); + return this._requestAllPages(`/orgs/${this.__name}/members`, options, cb); } /**