Fix instantiation

This commit is contained in:
Jackson Harper
2024-01-12 13:26:27 +08:00
parent 273e593a93
commit 2f3e2d98d8
2 changed files with 1 additions and 2 deletions

View File

@ -56,7 +56,6 @@ const ADMIN_USER_EMAIL =
const router = AdminJsExpress.buildAuthenticatedRouter(adminBro, {
authenticate: async (email, password) => {
const user = await AdminUser.findOne({ email })
console.log('looked up user: ', user)
if (user) {
const matched = await compare(password, user.password)
console.log(' -- failed match')

View File

@ -58,7 +58,7 @@ const run = async () => {
}
}
const rssRefreshFeed = createQueueMQ('rssRefreshFeed', {
const rssRefreshFeed = new QueueMQ('rssRefreshFeed', {
connection: redisOptions,
})