Return numbers, not strings
All checks were successful
Run node --check on everything / node-check (pull_request) Successful in 7s
Make sure the server is actually able to start / prettier (pull_request) Successful in 24s
Check project using prettier / prettier (pull_request) Successful in 23s
Run node --check on everything / node-check (push) Successful in 10s
Make sure the server is actually able to start / prettier (push) Successful in 44s
Check project using prettier / prettier (push) Successful in 41s
All checks were successful
Run node --check on everything / node-check (pull_request) Successful in 7s
Make sure the server is actually able to start / prettier (pull_request) Successful in 24s
Check project using prettier / prettier (pull_request) Successful in 23s
Run node --check on everything / node-check (push) Successful in 10s
Make sure the server is actually able to start / prettier (push) Successful in 44s
Check project using prettier / prettier (push) Successful in 41s
This commit is contained in:
parent
b622759083
commit
2304393052
1 changed files with 1 additions and 1 deletions
2
index.js
2
index.js
|
@ -71,7 +71,7 @@ async function get_counter_value(ns_name, key) {
|
|||
namespace_id = ${nsid} AND
|
||||
name = ${key}`;
|
||||
if (sql_res.length == 0) return null;
|
||||
else return sql_res[0].value;
|
||||
else return parseInt(sql_res[0].value);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue