Skip to content

Commit

Permalink
(feat) return bot status
Browse files Browse the repository at this point in the history
  • Loading branch information
cardosofede committed Jun 13, 2024
1 parent 6a7c14e commit f6993ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/services/backend_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def import_strategy(self, strategy_config: dict):
def get_bot_status(self, bot_name: str):
"""Get the status of a bot."""
endpoint = f"get-bot-status/{bot_name}"
self.get(endpoint)
return self.get(endpoint)

def get_bot_history(self, bot_name: str):
"""Get the historical data of a bot."""
Expand Down

0 comments on commit f6993ba

Please sign in to comment.