diff --git a/src/mp_api/client.py b/src/mp_api/client.py index 62b07033..0ce5ce72 100644 --- a/src/mp_api/client.py +++ b/src/mp_api/client.py @@ -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]: """