From 4a89ae2912f53b6defe160e3723556df1fcb5d5a Mon Sep 17 00:00:00 2001 From: Julia Guskova Date: Wed, 25 Oct 2023 09:44:12 +0200 Subject: [PATCH] fix types after merging --- x-pack/plugins/actions/server/actions_client/actions_client.ts | 2 +- .../server/application/connector/methods/get_all/get_all.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/actions/server/actions_client/actions_client.ts b/x-pack/plugins/actions/server/actions_client/actions_client.ts index b94b18c00ac51..6036d95ea4f02 100644 --- a/x-pack/plugins/actions/server/actions_client/actions_client.ts +++ b/x-pack/plugins/actions/server/actions_client/actions_client.ts @@ -422,7 +422,7 @@ export class ActionsClient { /** * Get all system connectors */ - public async getAllSystemConnectors(): Promise { + public async getAllSystemConnectors(): Promise { return getAllSystemConnectors({ context: this.context }); } diff --git a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts b/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts index 68b8180e4baaf..e1593351a574a 100644 --- a/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts +++ b/x-pack/plugins/actions/server/application/connector/methods/get_all/get_all.ts @@ -85,7 +85,7 @@ export async function getAllSystemConnectors({ context, }: { context: GetAllParams['context']; -}): Promise { +}): Promise { try { await context.authorization.ensureAuthorized({ operation: 'get' }); } catch (error) {