Skip to content

Commit 7bafd5d

Browse files
committed
includes hidden params type in SO client
1 parent 407b09a commit 7bafd5d

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

x-pack/plugins/actions/server/plugin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,10 @@ export class ActionsPlugin implements Plugin<Promise<PluginSetupContract>, Plugi
299299
encryptedSavedObjectsClient,
300300
getBasePath: this.getBasePath,
301301
spaceIdToNamespace: this.spaceIdToNamespace,
302-
getScopedSavedObjectsClient: core.savedObjects.getScopedClient,
302+
getScopedSavedObjectsClient: (request: KibanaRequest) =>
303+
core.savedObjects.getScopedClient(request, {
304+
includedHiddenTypes,
305+
}),
303306
});
304307

305308
scheduleActionsTelemetry(this.telemetryLogger, plugins.taskManager);

0 commit comments

Comments
 (0)