Skip to content

Commit

Permalink
Merge pull request #90 from ainize-team/fix/yoojin/request_write_rule
Browse files Browse the repository at this point in the history
Fix request write rule syntax err
  • Loading branch information
yoojinko authored Jan 3, 2024
2 parents 836a67a + 92a88b5 commit bf0511e
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 @@ -62,7 +62,7 @@ export const defaultAppRules = (appName: string): { [type: string]: { ref: strin
write:
"auth.addr === $userAddress && " +
"(getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`) === 0 || " +
"(getValue(`/apps/" + `${appName}` + "/balance/` + $userAddress + `/balance`) >= getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`))"
"(getValue(`/apps/" + `${appName}` + "/balance/` + $userAddress + `/balance`) >= getValue(`/apps/" + `${appName}` + "/billingConfig/minCost`)))"
},
},
},
Expand Down

0 comments on commit bf0511e

Please sign in to comment.