Skip to content

Commit 19fc665

Browse files
author
chengziqian
committed
fix: rename params name
1 parent 192ffec commit 19fc665

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodejs/controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ async function modExecute(handler, funcEnv, ctx, label, end) {
100100
if (!func) throw new Error(`Unable to load ${handler}`);
101101
try {
102102
const event = {
103-
data: funcEnv.params,
103+
params: funcEnv.params,
104104
ctx: ctx,
105105
};
106106
if (DSS) event.DSS = DSS;

0 commit comments

Comments
 (0)