Skip to content

Commit aa1a34f

Browse files
authored
Fix upsert in Storage File API
1 parent 8b257cc commit aa1a34f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: supabase/lib/storage/storage_file_api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class StorageFileAPI:
1515
DEFAULT_FILE_OPTIONS = {
1616
"cacheControl": "3600",
1717
"contentType": "text/plain;charset=UTF-8",
18-
"upsert": "False",
18+
"x-upsert": "false",
1919
}
2020

2121
def __init__(self, url: str, headers: dict, bucket_id: str):

0 commit comments

Comments
 (0)