fixed format issues

This commit is contained in:
Boki 2025-06-26 16:12:27 -04:00
parent a700818a06
commit 08f713d98b
55 changed files with 5680 additions and 5533 deletions

View file

@ -2,8 +2,8 @@
* Handler registration for data pipeline service
*/
import type { IServiceContainer } from '@stock-bot/types';
import { getLogger } from '@stock-bot/logger';
import type { IServiceContainer } from '@stock-bot/types';
// Import handlers directly
import { ExchangesHandler } from './exchanges/exchanges.handler';
import { SymbolsHandler } from './symbols/symbols.handler';
@ -18,10 +18,7 @@ export async function initializeAllHandlers(container: IServiceContainer): Promi
try {
// Register handlers manually
const handlers = [
ExchangesHandler,
SymbolsHandler,
];
const handlers = [ExchangesHandler, SymbolsHandler];
for (const Handler of handlers) {
try {
@ -38,4 +35,4 @@ export async function initializeAllHandlers(container: IServiceContainer): Promi
logger.error('Handler registration failed', { error });
throw error;
}
}
}