From 68ebb773e5f9e4a34e08687b9398c327b85be85e Mon Sep 17 00:00:00 2001 From: neil Date: Thu, 27 Oct 2022 14:28:08 +0800 Subject: [PATCH] fix: env logging --- lambdas/src/functions/ipfsUpload/handler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lambdas/src/functions/ipfsUpload/handler.ts b/lambdas/src/functions/ipfsUpload/handler.ts index d4774c3..6e47b7e 100644 --- a/lambdas/src/functions/ipfsUpload/handler.ts +++ b/lambdas/src/functions/ipfsUpload/handler.ts @@ -24,7 +24,7 @@ const ipfsUpload = async (event: S3CreateEvent) => { const cidHash = cid[0].hash console.log({cidHash}) - console.log("process.env.BUCKET: ", process.env.BUCKET) + console.log("process.env.AWS_DIST_BUCKET: ", process.env.AWS_DIST_BUCKET) console.log("Path: ", record.s3.object.key + ".cid") const s3Ack = await s3.putObject({