Skip to content

Commit

Permalink
fix : fix import logger (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabnguess authored Jul 31, 2024
1 parent c8c6481 commit c2f478e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/DataFetcher.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { fetchOrgMetadata } from "@dashlog/core";

// Import Internal Dependencies
import * as orgCache from "./cache.js";
import logger from "../logger.js";
import { logger } from "../logger.js";

// CONSTANTS
const kDateFormatter = Intl.DateTimeFormat("en-GB", {
Expand Down
2 changes: 1 addition & 1 deletion src/Router.class.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Import Internal Dependencies
import logger from "../logger.js";
import { logger } from "../logger.js";

export default class Router {
routes = new Map();
Expand Down
2 changes: 1 addition & 1 deletion src/WebSocket.class.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import * as template from "./template.js";
import * as auth from "./authenticate.js";
import * as orgCache from "./cache.js";
import Router from "./Router.class.js";
import logger from "../logger.js";
import { logger } from "../logger.js";

export default class WSS extends WebSocketServer {
constructor(options) {
Expand Down
2 changes: 1 addition & 1 deletion src/authenticate.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import jwt from "jsonwebtoken";

// Import Internal Dependencies
import logger from "../logger.js";
import { logger } from "../logger.js";

// CONSTANTS
const kTokenExpirationTimeSeconds = 600;
Expand Down
2 changes: 1 addition & 1 deletion src/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import fs from "node:fs";
import path from "node:path";

// Import Internal Dependencies
import logger from "../logger.js";
import { logger } from "../logger.js";
import * as template from "./template.js";

// CONSTANTS
Expand Down

0 comments on commit c2f478e

Please sign in to comment.