mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix instantiation
This commit is contained in:
parent
273e593a93
commit
2f3e2d98d8
2 changed files with 1 additions and 2 deletions
|
|
@ -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,
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue