Created
July 21, 2016 23:04
-
-
Save benjamingr/fac15a2e36b44b710489850ac22427af to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return Promise.resolve().then(function rest() { | |
return Rest.webService({apiUrl: "/v4_6_release/apis/3.0/system/members", method: "GET" }).then(result => | |
(Array.isArray(result) && result.length === 0) ? "Done" : rest(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment