Skip to content

Commit

Permalink
chore: fix type error coming from race condition on plugin type chang…
Browse files Browse the repository at this point in the history
…e and new plugin addition
  • Loading branch information
delanni committed Nov 15, 2023
1 parent 88c313e commit 33cacb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kbn-mock-idp-plugin/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
parseSAMLAuthnRequest,
} from '../common';

export const plugin: PluginInitializer<void, void> = (): Plugin => ({
export const plugin: PluginInitializer<void, void> = async (): Promise<Plugin> => ({
setup(core) {
core.http.resources.register(
{
Expand Down

0 comments on commit 33cacb8

Please sign in to comment.