mirror of
https://github.com/LightZirconite/Microsoft-Rewards-Bot.git
synced 2026-01-10 01:06:17 +00:00
fix: update logger module path for dashboard logging
This commit is contained in:
@@ -139,7 +139,7 @@ export class DashboardServer {
|
|||||||
// Intercept Logger.log calls by wrapping at module level
|
// Intercept Logger.log calls by wrapping at module level
|
||||||
// This ensures all log calls go through dashboard state
|
// This ensures all log calls go through dashboard state
|
||||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||||
const loggerModule = require('../util/Logger') as { log: typeof botLog }
|
const loggerModule = require('../util/notifications/Logger') as { log: typeof botLog }
|
||||||
const originalLog = loggerModule.log
|
const originalLog = loggerModule.log
|
||||||
|
|
||||||
loggerModule.log = (
|
loggerModule.log = (
|
||||||
|
|||||||
Reference in New Issue
Block a user