diff options
| author | Dedan Kibere <[email protected]> | 2024-10-27 23:05:49 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-10-27 23:05:49 +0300 |
| commit | 87059fe805d3372263d26b391f8855139f84ad34 (patch) | |
| tree | 7099fbce72e7614c0c689d2f9a62e69f8b2e621a /lib/db.ts | |
| parent | 041db323e4c23d87663bc29519af604137f3eb42 (diff) | |
| parent | d09712ef8f8ea8218ce229b233fc0013e6c06f7a (diff) | |
| download | coinos-server-87059fe805d3372263d26b391f8855139f84ad34.tar.gz coinos-server-87059fe805d3372263d26b391f8855139f84ad34.zip | |
Merge branch 'coinos:master' into master
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) |
