pass standard limit

This commit is contained in:
Diogo Sousa
2023-07-25 20:27:57 +01:00
parent 1658974bb6
commit c1f048453e
2 changed files with 2 additions and 0 deletions

View File

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

View File

@@ -48,6 +48,7 @@ class FMPStockNewsFetcher(
return FMPStockNewsQueryParams(
tickers=query.symbols,
page=query.page,
limit=query.limit,
**extra_params if extra_params else {}
)