Updated stock news to use alias in query

This commit is contained in:
Pratyush Shukla
2023-07-27 19:41:06 +05:30
parent b4b32a4fb8
commit b0eb973e88

View File

@@ -105,8 +105,8 @@ class BenzingaStockNewsFetcher(
) -> BenzingaStockNewsQueryParams:
return BenzingaStockNewsQueryParams(
page=query.page,
tickers=query.symbols, # type: ignore
pageSize=query.limit,
symbols=query.symbols, # type: ignore
limit=query.limit,
**extra_params if extra_params else {},
)