This is the one.

This commit is contained in:
zkldi
2021-04-18 03:08:05 +01:00
parent 870aa5840a
commit fc62580696
7 changed files with 49 additions and 6 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ const logger = CreateLogCtx("scripts/initialise-counters.ts");
await db.counters.insert({
counterName: "users",
value: 0,
value: 1,
});
logger.info("Successfully initialised counter documents. Exiting.");
@@ -0,0 +1,4 @@
/* eslint-disable no-console */
import bcrypt from "bcrypt";
console.log(bcrypt.hashSync("password", 12));