summaryrefslogtreecommitdiff
path: root/lib/web/imageRouter/s3.js
diff options
context:
space:
mode:
authorPhilip Molares2021-02-15 09:42:51 +0100
committerPhilip Molares2021-02-15 12:15:14 +0100
commit136d895d155f28c2e75b3af206549acaa2a354ed (patch)
treead80595f5dd94a7ac63bc1481943ae7b356ddb17 /lib/web/imageRouter/s3.js
parentb0a45bdf9c531d93a2462c09d58b2e9e703a0a66 (diff)
Linter: Fix all lint errors
Signed-off-by: Philip Molares <philip.molares@udo.edu>
Diffstat (limited to '')
-rw-r--r--lib/web/imageRouter/s3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/web/imageRouter/s3.js b/lib/web/imageRouter/s3.js
index 2bf08cc7..5bb8e160 100644
--- a/lib/web/imageRouter/s3.js
+++ b/lib/web/imageRouter/s3.js
@@ -26,7 +26,7 @@ exports.uploadImage = function (imagePath, callback) {
callback(new Error(err), null)
return
}
- let params = {
+ const params = {
Bucket: config.s3bucket,
Key: path.join('uploads', path.basename(imagePath)),
Body: buffer