aboutsummaryrefslogtreecommitdiffstats
path: root/lib/db.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
committerAdam Soltys <[email protected]>2023-04-06 15:25:07 -0700
commit99b72e143866d5cc62ba04847885070dc9a5c645 (patch)
treeabda08ae881b6e9bfff2ebbcf58d1409d7395fcf /lib/db.js
parent5083648dc113547c1c604e0c93ed0ee961f01ea3 (diff)
downloadcoinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.tar.gz
coinos-server-99b72e143866d5cc62ba04847885070dc9a5c645.zip
prettier
Diffstat (limited to 'lib/db.js')
-rw-r--r--lib/db.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/db.js b/lib/db.js
index f1c15ebd..b22af94a 100644
--- a/lib/db.js
+++ b/lib/db.js
@@ -7,7 +7,7 @@ export const db = createClient({ url: config.db });
await db.connect();
export default db;
-export let g = async (k) => {
+export let g = async k => {
let v = await db.get(k);
try {
return JSON.parse(v);