diff --git a/nitric/resources/buckets.py b/nitric/resources/buckets.py index b2c82fa..39e067c 100644 --- a/nitric/resources/buckets.py +++ b/nitric/resources/buckets.py @@ -160,7 +160,7 @@ async def files(self): resp = await self._storage_stub.list_blobs( storage_list_blobs_request=StorageListBlobsRequest(bucket_name=self.name) ) - return [self.file(f.key) for f in resp.files] + return [self.file(f.key) for f in resp.blobs] async def exists(self, key: str) -> bool: """Return true if a file in the bucket exists."""