diff --git a/docs/docs/guides/developer-guide/events/index.mdx b/docs/docs/guides/developer-guide/events/index.mdx index ecdba64173..77197b61ea 100644 --- a/docs/docs/guides/developer-guide/events/index.mdx +++ b/docs/docs/guides/developer-guide/events/index.mdx @@ -341,7 +341,7 @@ export class MyPluginPlugin implements OnModuleInit { onModuleInit() { // highlight-start this.eventBus.registerBlockingEventHandler({ - type: CustomerEvent, + event: CustomerEvent, id: 'sync-customer-details-handler', handler: async event => { // This hypothetical service method would do nothing @@ -403,4 +403,4 @@ this.eventBus.registerBlockingEventHandler({ // highlight-next-line before: 'sync-customer-details-handler', }); -``` \ No newline at end of file +```