Skip to content

Commit

Permalink
fix: writerule syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
yoojinko committed Jan 3, 2024
1 parent 836a67a commit 92a88b5
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 92a88b5

Please sign in to comment.