From 2f3e2d98d8a28c80a16a0d488a4d6011fc07fc09 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 12 Jan 2024 13:26:27 +0800 Subject: [PATCH] Fix instantiation --- pkg/admin/src/index.ts | 1 - pkg/bull-queue-admin/index.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/admin/src/index.ts b/pkg/admin/src/index.ts index 894e4b733..20875919c 100644 --- a/pkg/admin/src/index.ts +++ b/pkg/admin/src/index.ts @@ -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') diff --git a/pkg/bull-queue-admin/index.js b/pkg/bull-queue-admin/index.js index ca32a2bc4..e01ca9fd7 100644 --- a/pkg/bull-queue-admin/index.js +++ b/pkg/bull-queue-admin/index.js @@ -58,7 +58,7 @@ const run = async () => { } } - const rssRefreshFeed = createQueueMQ('rssRefreshFeed', { + const rssRefreshFeed = new QueueMQ('rssRefreshFeed', { connection: redisOptions, })