Skip to content

Commit

Permalink
copy upadte
Browse files Browse the repository at this point in the history
  • Loading branch information
squallstar committed Jun 12, 2019
1 parent 212e8e9 commit e688f4f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/API/fliplet-core.md
Expand Up @@ -480,19 +480,19 @@ Fliplet.Organization.Settings.getAll()
}); });
``` ```


### Set settings. Current settings are extended with this ones. ### Extend the current settings


```js ```js
Fliplet.Organization.Settings.set({ Fliplet.Organization.Settings.set({
user: 'foo', user: 'foo',
_password: 'bar' // Settings start with _ are encrypted _password: 'bar' // Settings with an underscore prefix "_" will be encrypted
}) })
.then(function(settings) { .then(function(settings) {
// Your code // Code to run when it completes
}); });
``` ```


### Get a single setting ### Get a setting


```js ```js
Fliplet.Organization.Settings.get('foo') Fliplet.Organization.Settings.get('foo')
Expand Down

0 comments on commit e688f4f

Please sign in to comment.