projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
055cfb1
)
Add getSettings documentation
author
Chocobozzz
<me@florianbigard.com>
Mon, 27 Apr 2020 08:21:24 +0000
(10:21 +0200)
committer
Chocobozzz
<chocobozzz@cpy.re>
Mon, 4 May 2020 14:21:39 +0000
(16:21 +0200)
support/doc/plugins/guide.md
patch
|
blob
|
history
diff --git
a/support/doc/plugins/guide.md
b/support/doc/plugins/guide.md
index fdad630873092fbbdcca21a163bec77b4c871943..81691c8c14f309b484bc983c38323f4783dce5d4 100644
(file)
--- a/
support/doc/plugins/guide.md
+++ b/
support/doc/plugins/guide.md
@@
-157,6
+157,9
@@
registerSetting({
})
const adminName = await settingsManager.getSetting('admin-name')
+
+const result = await settingsManager.getSettings([ 'admin-name', 'admin-password' ])
+result['admin-name]
```
#### Storage