diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Enso_File.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Enso_File.enso index e07d366c4de7..aef9aeab3e39 100644 --- a/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Enso_File.enso +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Enso_File.enso @@ -416,7 +416,7 @@ type Enso_File ## PRIVATE list_assets (parent : Enso_File) -> Vector Existing_Enso_Asset = - Existing_Enso_Asset.get_asset_reference_for parent . list + Existing_Enso_Asset.get_asset_reference_for parent . list_directory type Enso_Asset_Type ## Represents an Enso project. diff --git a/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Internal/Existing_Enso_Asset.enso b/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Internal/Existing_Enso_Asset.enso index 7c444a2f77f3..1a5d2a233724 100644 --- a/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Internal/Existing_Enso_Asset.enso +++ b/distribution/lib/Standard/Base/0.0.0-dev/src/Enso_Cloud/Internal/Existing_Enso_Asset.enso @@ -98,7 +98,7 @@ type Existing_Enso_Asset is_regular_file self = self.asset_type == Enso_Asset_Type.File ## PRIVATE - list self = + list_directory self = if self.asset_type != Enso_Asset_Type.Directory then Error.throw (Illegal_Argument.Error "Only directories can be listed.") else response = Utils.http_request_as_json HTTP_Method.Get self.internal_uri assets = get_required_field "assets" response expected_type=Vector