mirror of
https://github.com/transloadit/uppy.git
synced 2026-07-18 00:55:35 +00:00
Fix(1607): Add remote-url to emit-success (#1608)
Fix(1607): Add remote-url to emit-success
This commit is contained in:
commit
9edb35fa40
1 changed files with 2 additions and 1 deletions
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue