Skip to content

Commit

Permalink
Fixing delete blobs api call
Browse files Browse the repository at this point in the history
  • Loading branch information
kyle-widmann committed May 21, 2024
1 parent e68b506 commit 1c94c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion guillotina_s3storage/storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ async def delete_blobs(self, keys: List[str], bucket_name: Optional[str] = None)
}
}

raw_response = await client.get_object(**args)
raw_response = await client.delete_objects(**args)
response = raw_response.json()
success_keys = [o["Key"] for o in response["Deleted"]]
failed_keys = [o["Key"] for o in response["Errors"]]
Expand Down

0 comments on commit 1c94c47

Please sign in to comment.