Skip to content

Commit

Permalink
Fix docs on scope requirement (#790)
Browse files Browse the repository at this point in the history
  • Loading branch information
adamjmcgrath authored Mar 7, 2023
1 parent 45c3e19 commit 6ab5834
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/management/ConnectionsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class ConnectionsManager extends BaseManager {
* @param {string[]} [params.fields] List of fields to include or exclude
* @param {boolean} [params.include_fields] true if the fields specified are to be included in the result, false otherwise. Default true
* @param {boolean} [params.include_totals] true if a query summary must be included in the result, false otherwise. Default false
* @param {string} [params.strategy] Provide strategies to only retrieve connections with such strategies
* @param {string} [params.strategy] Provide strategies to only retrieve connections with such strategies
* @param {string} [params.name] Provide the name of the connection to retrieve
* @param {Function} [cb] Callback function.
* @returns {Promise|undefined}
Expand Down
4 changes: 2 additions & 2 deletions src/management/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ class ManagementClient {
/**
* @param {object} options Options for the ManagementClient SDK.
* If a token is provided only the domain is required, other parameters are ignored.
* If no token is provided domain, clientId, clientSecret (or clientAssertionSigningKey)
* and scopes are required
* If no token is provided domain, clientId and clientSecret (or clientAssertionSigningKey)
* are required.
* @param {string} options.domain ManagementClient server domain.
* @param {string} [options.token] API access token.
* @param {string} [options.clientId] Management API Non Interactive Client Id.
Expand Down

0 comments on commit 6ab5834

Please sign in to comment.