teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

誤字修正

2021/09/03 09:50

投稿

DenTaro
DenTaro

スコア0

title CHANGED
@@ -1,1 +1,1 @@
1
- nodejs s3からのダウンロード処理を関数化したい
1
+ nodejs s3からのダウンロード処理を関数化したい
body CHANGED
@@ -38,11 +38,11 @@
38
38
  const filePath = await getS3Object(s3Params, localFilePath);
39
39
  ```
40
40
  以下のように関数化しました。
41
- imageには、s3のファイルパスが入っています。
41
+ imagePathには、s3のファイルパスが入っています。
42
42
  ```
43
43
  const filePath = image(imagePath);
44
44
 
45
- function image(image) {
45
+ function image(imagePath) {
46
46
  var s3 = new AWS.S3();
47
47
  const s3BucketName = '**********';
48
48