diff --git a/scaleapi/_version.py b/scaleapi/_version.py index 1b8e2a8..c10cec1 100644 --- a/scaleapi/_version.py +++ b/scaleapi/_version.py @@ -1,2 +1,2 @@ -__version__ = "2.0.1" +__version__ = "2.0.2" __package_name__ = "scaleapi" diff --git a/scaleapi/tasks.py b/scaleapi/tasks.py index 7292386..2b3bb1f 100644 --- a/scaleapi/tasks.py +++ b/scaleapi/tasks.py @@ -81,7 +81,7 @@ def as_dict(self): def refresh(self): """Refreshes the task details.""" - self._json = self._client.fetch_task(self.id).as_dict() + self._json = self._client.get_task(self.id).as_dict() def cancel(self): """Cancels the task"""