Skip to content

Commit 63c9d0a

Browse files
authored
Merge pull request #158 from supabase/fix/upload-types
fix: types for upload object
2 parents 0402430 + a887b3d commit 63c9d0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/storage/StorageFileApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export class StorageFileApi {
3737
path: string,
3838
file: File,
3939
fileOptions?: FileOptions
40-
): Promise<{ data: { message: string } | null; error: Error | null }> {
40+
): Promise<{ data: { Key: string } | null; error: Error | null }> {
4141
try {
4242
if (!isBrowser()) throw new Error('No browser detected.')
4343

0 commit comments

Comments
 (0)