diff options
| author | Adam Soltys <[email protected]> | 2024-10-19 22:02:28 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-19 22:02:28 -0700 |
| commit | ab552d882ba9c0d2c99e104c79b2ce854c4d1da8 (patch) | |
| tree | 7d0d591e68c9082ded5e0275674d5d11fbcb9b45 /lib/db.ts | |
| parent | 985230492f0c2543952bbac01378c033cced7d55 (diff) | |
| download | coinos-server-ab552d882ba9c0d2c99e104c79b2ce854c4d1da8.tar.gz coinos-server-ab552d882ba9c0d2c99e104c79b2ce854c4d1da8.zip | |
fix reverse
Diffstat (limited to 'lib/db.ts')
| -rw-r--r-- | lib/db.ts | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -38,7 +38,7 @@ local pid = KEYS[6] local total = tonumber(ARGV[1]) local credit = tonumber(ARGV[2]) -local payment = cjson.decode(redis.call('get', paymentKey)) +local payment = redis.call('get', paymentKey) if payment ~= nil then redis.call('incrby', balanceKey, total) |
