Skip to content

Commit

Permalink
refactor(database): Refactor file structure for database-related files
Browse files Browse the repository at this point in the history
  • Loading branch information
wajeht committed Aug 8, 2024
1 parent 288d734 commit 122bb80
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/jobs/email.job.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Queue, Worker } from 'bullmq';
import { redis } from '../database/db';
import { redis } from '../db/db';
import { sendEmail } from './utils/email';

const queueName = 'sendEmailQueue';
Expand Down
1 change: 1 addition & 0 deletions src/jobs/jobs.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import { sendApproveTenantEmailJob } from './email.job';

Check warning on line 1 in src/jobs/jobs.ts

View workflow job for this annotation

GitHub Actions / ESLint (22.x)

'sendApproveTenantEmailJob' is defined but never used. Allowed unused vars must match /^_/u
2 changes: 1 addition & 1 deletion src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { app } from './app';
import { Server } from 'http';
import { AddressInfo } from 'net';
import { appConfig } from './config';
import { db, redis } from './database/db';
import { db, redis } from './db/db';

const server: Server = app.listen(appConfig.port);

Expand Down

0 comments on commit 122bb80

Please sign in to comment.