Skip to content

Commit

Permalink
fix: add dotenv configuration to Utils.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-737 committed Nov 5, 2023
1 parent 6d8e879 commit c9c2956
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/Utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import Scheduler from '../services/SchedulerService.js';
import db from './Db.js';
import startCase from 'lodash/startCase.js';
import toLower from 'lodash/toLower.js';
import 'dotenv/config';

/** Convert milliseconds to a human readable time (eg: 1d 2h 3m 4s) */
export function msToReadable(milliseconds: number): string {
Expand Down

0 comments on commit c9c2956

Please sign in to comment.