more fixes
This commit is contained in:
parent
ee234edcd7
commit
781ea7a9df
2 changed files with 2 additions and 2 deletions
|
|
@ -170,7 +170,7 @@ export async function fetchExchanges(sessionHeaders: Record<string, string>): Pr
|
|||
}
|
||||
|
||||
// Fetch symbols from IB using the session headers
|
||||
export async function fetchSymbols(sessionHeaders: Record<string, string>): Promise<any> {
|
||||
export async function fetchSymbols(sessionHeaders: Record<string, string>): Promise<unknown> {
|
||||
try {
|
||||
logger.info('🔍 Fetching symbols with session headers...');
|
||||
// Configure the proxy
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ async function searchQMSymbolsAPI(query: string): Promise<string[]> {
|
|||
|
||||
const symbols = await response.json();
|
||||
const mongoClient = getMongoDBClient();
|
||||
const updatedSymbols = symbols.map((symbol: any) => {
|
||||
const updatedSymbols = symbols.map((symbol: Record<string, unknown>) => {
|
||||
return {
|
||||
...symbol,
|
||||
qmSearchCode: symbol.symbol, // Store original symbol for reference
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue