change ticker field in Stock Search to is_symbol

This commit is contained in:
Danglewood
2023-10-11 14:00:33 -07:00
committed by GitHub
parent 27956ccc4e
commit 162cfd4cf0

View File

@@ -13,7 +13,7 @@ class StockSearchQueryParams(QueryParams):
"""Company Search Query Params"""
query: str = Field(description="Search query.", default="")
ticker: bool = Field(
is_symbol: bool = Field(
description="Whether to search by ticker symbol.", default=False
)