Skip to content

Commit

Permalink
fix: write rule typo
Browse files Browse the repository at this point in the history
  • Loading branch information
yoojinko committed Dec 11, 2023
1 parent b949d5c commit d62ae58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const defaultAppRules = (appName: string): { [type: string]: { ref: strin
"util.isDict(newData) && " +
"util.isString(newData.depositAddress) && " +
"util.isNumber(newData.costPerToken) && " +
"util.isNumber(newData.minCost) && newData.minCost >= 0" +
"util.isNumber(newData.minCost) && newData.minCost >= 0 &&" +
"(util.isEmpty(newData.maxCost) || (util.isNumber(newData.maxCost) && newData.maxCost >= newData.minCost))",
},
},
Expand Down

0 comments on commit d62ae58

Please sign in to comment.