Skip to content
Permalink
Browse files

copy upadte

  • Loading branch information...
squallstar committed Jun 12, 2019
1 parent 212e8e9 commit e688f4f3c2a556844f89ec14b9bcc3a8b9dd6859
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/API/fliplet-core.md
@@ -480,19 +480,19 @@ Fliplet.Organization.Settings.getAll()
});
```

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

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

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

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

0 comments on commit e688f4f

Please sign in to comment.
You can’t perform that action at this time.