From 33cacb82365713ff350902ce2651241af7cc8175 Mon Sep 17 00:00:00 2001 From: Alex Szabo Date: Wed, 15 Nov 2023 11:26:41 +0100 Subject: [PATCH] chore: fix type error coming from race condition on plugin type change and new plugin addition --- packages/kbn-mock-idp-plugin/server/plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/kbn-mock-idp-plugin/server/plugin.ts b/packages/kbn-mock-idp-plugin/server/plugin.ts index e24e7418cce62..20c115d80cf2c 100644 --- a/packages/kbn-mock-idp-plugin/server/plugin.ts +++ b/packages/kbn-mock-idp-plugin/server/plugin.ts @@ -16,7 +16,7 @@ import { parseSAMLAuthnRequest, } from '../common'; -export const plugin: PluginInitializer = (): Plugin => ({ +export const plugin: PluginInitializer = async (): Promise => ({ setup(core) { core.http.resources.register( {