|
|
@@ -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',
|
|
|
});
|
|
|
-```
|
|
|
+```
|