supabase / storage-js

JS Client library to interact with Supabase Storage
Apache License 2.0
127 stars 37 forks source link

Upload function does not return file ID #170

Closed bombillazo closed 10 months ago

bombillazo commented 1 year ago

Bug report

Describe the bug

Currently, only part of the path (not including the bucket) of the uploaded file is returned even though the API returns both the ID and full path of the file: source

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

Call the upload function from the client, which internally uses uploadOrUpdate and the response will not include the id of the uploaded file. The direct API does return the id.

Expected behavior

Developers get back the id of the file uploaded.

System information

fenos commented 10 months ago

We are now returning the File ID

168

bombillazo commented 10 months ago

Awesome! Thanks