Skip to content

Commit

Permalink
Standardizing name property on blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-widmann committed May 14, 2024
1 parent c2ad0ff commit a29362d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guillotina_gcloudstorage/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -628,10 +628,10 @@ async def get_blobs(self, page_token: Optional[str] = None, prefix=None, max_key
page = await self.iterate_bucket_page(page_token, prefix)
blobs = [
GCloudFile(
key = item.get("name"),
name = item.get("name"),
bucket = item.get("bucket"),
createdTime = item.get("timeCreated"),
size = item.get("size")
size = int(item.get("size"))
)
for item
in page.get("items", [])
Expand Down

0 comments on commit a29362d

Please sign in to comment.