chore: profile template typo

This commit is contained in:
dongchengjie
2024-05-04 14:24:11 +08:00
parent 7edd7f27cb
commit 05fa6b9aba
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;
}