diff --git a/plugins/explore/README.md b/plugins/explore/README.md index 5038f3e5f0..94ab0984a0 100644 --- a/plugins/explore/README.md +++ b/plugins/explore/README.md @@ -94,8 +94,10 @@ export const apis: AnyApiFactory[] = [ api: exploreToolsConfigRef, deps: {}, factory: () => ({ - /* pass the tools array - i.e. tools = [ + async getTools() { + return tools; + }, + /* e.g. tools = [ { title: 'New Relic', description:'new relic plugin, @@ -104,7 +106,7 @@ export const apis: AnyApiFactory[] = [ tags: ['newrelic', 'proxy', 'nerdGraph'], }, ] - */ + */ }), }),