From 85ecddbccfb2a8e2f45bcb10f18b49dbb5f7ab43 Mon Sep 17 00:00:00 2001 From: Victor Li Date: Thu, 19 Aug 2021 15:27:08 -0700 Subject: [PATCH] console log to debug bucket name --- package.json | 2 +- src/bucket/S3BucketAdapter.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index e0abdcc..8f051a1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "frame-one-bucket-adapter", - "version": "0.1.2", + "version": "0.1.3", "description": "An adapter for wrapping various storage buckets and unifying a select number of features.", "main": "dist/index.js", "scripts": { diff --git a/src/bucket/S3BucketAdapter.ts b/src/bucket/S3BucketAdapter.ts index 3574841..88240cb 100644 --- a/src/bucket/S3BucketAdapter.ts +++ b/src/bucket/S3BucketAdapter.ts @@ -142,6 +142,8 @@ class S3BucketAdapter extends BucketAdapter { Body: data, } + console.log({params}); + return new Promise((resolve, reject) => { this.s3.upload(params, (err) => { if (err) {