From 35b58f064b393fd0d1342954f6489b2d6134c160 Mon Sep 17 00:00:00 2001 From: Aditya Patadia Date: Thu, 26 Oct 2023 10:27:59 +0530 Subject: [PATCH] case fix --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 88b1fd5..24d0983 100644 --- a/src/index.ts +++ b/src/index.ts @@ -127,8 +127,8 @@ class S3Storage extends StorageBase { // Doesn't seem to be documented, but required for using this adapter for other media file types. // Seealso: https://github.com/laosb/ghos3/pull/6 urlToPath(url) { - const parsedurl = new URL(url); - return parsedurl.pathname; + const parsedUrl = new URL(url); + return parsedUrl.pathname; } async save(image: Image, targetDir?: string) {