fix(medusa-file-spaces): return fileKey for Spaces upload (#2171)

**What**
- return `fileKey` in the response after the file is uploaded to Spaces

Co-authored-by: Oliver Windall Juhl <59018053+olivermrbl@users.noreply.github.com>
This commit is contained in:
Frane PolićandOliver Windall Juhl authored and GitHub committed 2022-09-09 10:55:43 +00:00
1 parent e36301ac14
commit ee8fe3a88b
3 files changed
+10 -5

No files matched your search

@@ -39,7 +39,6 @@ class MinioService extends AbstractFileService {
return new Promise((resolve, reject) => {
s3.upload(params, (err, data) => {
console.log(data, err)
if (err) {
reject(err)
return