Skip to content

Commit

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

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

#170852 - adds a new plugin
#170856 - changes how plugins
should look
  • Loading branch information
delanni authored Nov 15, 2023
1 parent 88c313e commit dcc478e
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 dcc478e

Please sign in to comment.