diff options
Diffstat (limited to 'app/javascript')
-rw-r--r-- | app/javascript/activestorage/blob_upload.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/activestorage/blob_upload.js b/app/javascript/activestorage/blob_upload.js index 8c1335c56c..c72820b433 100644 --- a/app/javascript/activestorage/blob_upload.js +++ b/app/javascript/activestorage/blob_upload.js @@ -19,7 +19,7 @@ export class BlobUpload { requestDidLoad(event) { const { status, response } = this.xhr if (status >= 200 && status < 300) { - this.callback(null, this.xhr.response) + this.callback(null, response) } else { this.requestDidError(event) } |