Fix instantiation
This commit is contained in:
@ -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')
|
||||
|
||||
@ -58,7 +58,7 @@ const run = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
const rssRefreshFeed = createQueueMQ('rssRefreshFeed', {
|
||||
const rssRefreshFeed = new QueueMQ('rssRefreshFeed', {
|
||||
connection: redisOptions,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user