refactor: move logger into separate module (#4581)

* refactor: move logger into separate module

* Update api/status/pat-info.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Alexandr <qwerty541zxc@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Alexandr Garbuzov
2025-10-15 23:03:48 +03:00
committed by GitHub
co-authored by Copilot Alexandr
parent bf021b0670
commit 6d1a5e51bc
9 changed files with 26 additions and 13 deletions
+2 -1
View File
@@ -8,7 +8,8 @@
*/
import { request } from "../../src/common/http.js";
import { logger, dateDiff } from "../../src/common/utils.js";
import { logger } from "../../src/common/log.js";
import { dateDiff } from "../../src/common/utils.js";
export const RATE_LIMIT_SECONDS = 60 * 5; // 1 request per 5 minutes
+1 -1
View File
@@ -9,7 +9,7 @@
import { request } from "../../src/common/http.js";
import retryer from "../../src/common/retryer.js";
import { logger } from "../../src/common/utils.js";
import { logger } from "../../src/common/log.js";
export const RATE_LIMIT_SECONDS = 60 * 5; // 1 request per 5 minutes