@postxl/generator 0.56.4 → 0.56.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -83,7 +83,8 @@ export class ${meta.actions.dispatcher.class} {
|
|
|
83
83
|
execution: IActionExecution
|
|
84
84
|
}) => Promise<ResultOfAction<A>>
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
// NOTE: We need to bind the method to the service instance, as it is a method of the service and not a standalone function.
|
|
87
|
+
return method.bind(this.updateService.${modelMeta.businessLogic.update.serviceVariableName})({ data: action.payload, execution })
|
|
87
88
|
}
|
|
88
89
|
`;
|
|
89
90
|
})
|