Skip to content

Commit a0a4eda

Browse files
authored
Merge pull request #585 from devinem4/patch-1
README / Storage -- Update `delete` file to `remove` file
2 parents 173dd46 + 9b1fd17 commit a0a4eda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ new_file = getUserFile()
255255
data = supabase.storage.from_(bucket_name).upload("/user1/profile.png", new_file)
256256
```
257257

258-
### Delete a file
258+
### Remove a file
259259

260260
```python
261261
from supabase import create_client, Client
@@ -266,7 +266,7 @@ supabase: Client = create_client(url, key)
266266

267267
bucket_name: str = "photos"
268268

269-
data = supabase.storage.from_(bucket_name).delete(["old_photo.png", "image5.jpg"])
269+
data = supabase.storage.from_(bucket_name).remove(["old_photo.png", "image5.jpg"])
270270
```
271271

272272
### List all files

0 commit comments

Comments
 (0)