From 568f14070db056e773678ae3c51f09f922246032 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Tue, 12 Jul 2022 14:44:19 +0200 Subject: [PATCH] remove unused logger --- .../backend/src/queue/processors/ended-poll-notification.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/backend/src/queue/processors/ended-poll-notification.ts b/packages/backend/src/queue/processors/ended-poll-notification.ts index e8a22a390..bdbbdc72e 100644 --- a/packages/backend/src/queue/processors/ended-poll-notification.ts +++ b/packages/backend/src/queue/processors/ended-poll-notification.ts @@ -1,11 +1,8 @@ import Bull from 'bull'; import { Notes, PollVotes } from '@/models/index.js'; -import { queueLogger } from '../logger.js'; import { EndedPollNotificationJobData } from '@/queue/types.js'; import { createNotification } from '@/services/create-notification.js'; -const logger = queueLogger.createSubLogger('ended-poll-notification'); - export async function endedPollNotification(job: Bull.Job, done: any): Promise { const note = await Notes.findOneBy({ id: job.data.noteId }); if (note == null || !note.hasPoll) {