add caching for topic content db calls (Postgres only)
[websub-hub] / bin / authUserAdd.js
index 4eaff65b9597995bc1dd5bb2ff08b804c22ac62b..1c33be8566d158aa2aaa37d1578b7fb94a180d02 100644 (file)
@@ -44,6 +44,7 @@ async function readPassword(prompt) {
 }
 
 (async () => {
+  await db.initialize();
   const password = await readPassword('password: ');
   const credential = await argon2.hash(password, { type: argon2.argon2id });
   console.log(`\t${identifier}:${credential}`);