Skip to content

Commit

Permalink
investment strategy method don't need token
Browse files Browse the repository at this point in the history
  • Loading branch information
Mael-J committed Oct 22, 2024
1 parent e3f057c commit d821574
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mstarpy/funds.py
Original file line number Diff line number Diff line change
Expand Up @@ -823,12 +823,7 @@ def investmentStrategy(self):
>>> Funds("LU0823421689").investmentStrategy()
"""
bearer_token = token_investment_strategy()
# header with bearer token
headers = {
"authorization": f"Bearer {bearer_token}",
}
return self.GetData("morningstarTake/investmentStrategy", headers=headers)
return self.GetData("morningstarTake/investmentStrategy")

def investmentLookup(self, currency="EUR"):
"""
Expand Down

0 comments on commit d821574

Please sign in to comment.