|
@@ -480,7 +480,8 @@ class Uploader {
|
|
|
if (error) {
|
|
|
this.emitError(error)
|
|
|
} else {
|
|
|
- this.emitSuccess(null, {
|
|
|
+ const url = data && data.Location ? data.Location : null
|
|
|
+ this.emitSuccess(url, {
|
|
|
response: {
|
|
|
responseText: JSON.stringify(data),
|
|
|
headers: {
|