staticbackendhq / core

Backend server API handling user mgmt, database, storage and real-time component
https://staticbackend.com
MIT License
700 stars 66 forks source link

fix(storage/upload): change arguments in ext to avoid error in ui #66

Closed VladPetriv closed 1 year ago

VladPetriv commented 1 year ago

As I know the name field is optional and sometimes user won't use it. But in our UI we need to know file ext without . Actually it would be better to use original file name with correct ext instead of using optional field

VladPetriv commented 1 year ago

And name sounds like filename without ext

dstpierre commented 1 year ago

Good catch thanks :wave: