Skip to content

Commit

Permalink
Remove heartbeat slash (#504)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Munro authored Feb 1, 2022
1 parent 4377f11 commit ebd7403
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mp_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def get_database_version(self):
Returns: database version as a string
"""
return get(url=self.endpoint + "/heartbeat").json()["db_version"]
return get(url=self.endpoint + "heartbeat").json()["db_version"]

def get_materials_id_from_task_id(self, task_id: str) -> Union[str, None]:
"""
Expand Down

0 comments on commit ebd7403

Please sign in to comment.