Skip to content

Commit 9b1fd17

Browse files
authored
Update README.md
Swap `delete` out, `remove` in
1 parent 173dd46 commit 9b1fd17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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)