Skip to content

Commit

Permalink
fix type error coming from race condition on plugin type changes (ela…
Browse files Browse the repository at this point in the history
…stic#171275)

## Summary
Fixes type error coming from merge-race:

elastic#170852 - adds a new plugin
elastic#170856 - changes how plugins
should look
  • Loading branch information
delanni authored and jillguyonnet committed Nov 16, 2023
1 parent 498385d commit 6a0705f
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 6a0705f

Please sign in to comment.