From d775bce3b74e6e6b4f0cc5b457123313cbc486d1 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Wed, 28 Aug 2019 15:14:12 -0400 Subject: [PATCH] Fix incorrect `this` in azure upload --- js/lib/upload.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/lib/upload.js b/js/lib/upload.js index 8af4bb5a..f2c5440b 100644 --- a/js/lib/upload.js +++ b/js/lib/upload.js @@ -31,7 +31,7 @@ class AzureUploader { `${this.objectName}`, f.target.result, options, - function(err, result) { + (err, result) => { if (err) { resolve({ ok: false }) } else {