Skip to content

Commit

Permalink
Merge pull request #85 from ainize-team/feature/yoojin/write_rule
Browse files Browse the repository at this point in the history
Fix typo of write rule
  • Loading branch information
yoojinko authored Dec 11, 2023
2 parents b949d5c + d62ae58 commit f8fbe33
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 f8fbe33

Please sign in to comment.