Skip to content

Commit 5dc6828

Browse files
committed
Use new notation for accessing plugin config
1 parent d95ab27 commit 5dc6828

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docusaurus/docs/dev-docs/api/plugins/server-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ module.exports = () => ({
110110
Once defined, the configuration can be accessed:
111111

112112
- with `strapi.plugin('plugin-name').config('some-key')` for a specific configuration property,
113-
- or with `strapi.config.get('plugin.plugin-name')` for the whole configuration object.
113+
- or with `strapi.config.get('plugin::plugin-name')` for the whole configuration object.
114114

115115
## Cron
116116

0 commit comments

Comments
 (0)