From 92a88b56646e96bff23da807b0f01790dc3f4e3c Mon Sep 17 00:00:00 2001 From: Yoojin Ko Date: Wed, 3 Jan 2024 13:10:15 +0900 Subject: [PATCH] fix: writerule syntax error --- src/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants.ts b/src/constants.ts index 7552df4..bb8214a 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -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`)))" }, }, },