mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-01 03:18:06 +03:00
This is the one.
This commit is contained in:
@@ -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));
|
||||
Reference in New Issue
Block a user