We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3107a46 + e310078 commit ec00057Copy full SHA for ec00057
src/metadata/ActionMetadata.ts
@@ -257,7 +257,8 @@ export class ActionMetadata {
257
* Action method is an action defined in a user controller.
258
*/
259
callMethod(params: any[]) {
260
- return this.controllerMetadata.instance[this.method].apply(this.controllerMetadata.instance, params);
+ const controllerInstance = this.controllerMetadata.instance;
261
+ return controllerInstance[this.method].apply(controllerInstance, params);
262
}
263
264
// -------------------------------------------------------------------------
0 commit comments