Skip to content

Commit

Permalink
Update setUniversalLoginTemplate example to correctly reflect docum…
Browse files Browse the repository at this point in the history
…entation (#624)

* Update example to correctly reflect documentation

* Update BrandingManager.js

* Update PromptsManager.js

* Update BrandingManager.js

Co-authored-by: David Patrick <[email protected]>
  • Loading branch information
mendhak and davidpatrick0 authored May 24, 2021
1 parent 420076c commit 8582b14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/management/BrandingManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var BrandingManager = function(options) {
* @memberOf module:management.BrandingManager.prototype
*
* @example
* management.branding.updateSettings(data, function (err, branding) {
* management.branding.updateSettings(params, data, function (err, branding) {
* if (err) {
* // Handle error.
* }
Expand All @@ -82,7 +82,7 @@ var BrandingManager = function(options) {
* console.log(branding);
* });
*
* @param {Object} params Branding parameters.
* @param {Object} params Branding parameters (leavy empty).
* @param {Object} data Updated branding data.
* @param {Function} [cb] Callback function.
*
Expand Down Expand Up @@ -145,7 +145,7 @@ utils.wrapPropertyMethod(BrandingManager, 'getUniversalLoginTemplate', 'branding
* @memberOf module:management.BrandingManager.prototype
*
* @example
* management.branding.setUniversalLoginTemplate({ template: "a template" }, function (err) {
* management.branding.setUniversalLoginTemplate(params, data, function (err) {
* if (err) {
* // Handle error.
* }
Expand Down
2 changes: 1 addition & 1 deletion src/management/PromptsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ var PromptsManager = function(options) {
* @memberOf module:management.PromptsManager.prototype
*
* @example
* management.prompts.updateSettings(data, function (err, prompts) {
* management.prompts.updateSettings(params, data, function (err, prompts) {
* if (err) {
* // Handle error.
* }
Expand Down

0 comments on commit 8582b14

Please sign in to comment.