Skip to content

Commit d725f90

Browse files
authored
fix api available-industries, wrong endpoint (#62)
1 parent fe7e46f commit d725f90

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

fmpsdk/company_valuation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
from .url_methods import (
1818
__return_json_v3,
1919
__return_json_v4,
20+
__return_json_stable,
2021
__validate_industry,
2122
__validate_period,
2223
__validate_sector,
@@ -1077,7 +1078,7 @@ def available_industries(apikey: str) -> typing.Optional[typing.List[str]]:
10771078
"""
10781079
path = "available-industries"
10791080
query_vars = {"apikey": apikey}
1080-
return __return_json_v3(path=path, query_vars=query_vars)
1081+
return __return_json_stable(path=path, query_vars=query_vars)
10811082

10821083

10831084
def upgrades_downgrades_consensus(

0 commit comments

Comments
 (0)