From 2db9c70f670c2210d103062fa143dc4888caa190 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 27 Apr 2020 10:21:24 +0200 Subject: [PATCH] Add getSettings documentation --- support/doc/plugins/guide.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md index fdad63087..81691c8c1 100644 --- 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 -- 2.25.1