chore: profile template typo

This commit is contained in:
dongchengjie
2024-05-04 14:24:11 +08:00
parent 1180a4fb0b
commit 28567e4629
3 changed files with 17 additions and 18 deletions

View File

@@ -1,6 +1,6 @@
function main(params) {
if (params.mode === "script") {
params.mode = "rule";
function main(config) {
if (config.mode === "script") {
config.mode = "rule";
}
return params;
return config;
}