From b2ca52db75295b80d05ef3aabe079799a02cfcc2 Mon Sep 17 00:00:00 2001 From: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> Date: Sun, 9 Feb 2025 22:35:24 +0100 Subject: [PATCH] Update helpers.ts Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com> --- packages/thirdweb/src/storage/upload/helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/thirdweb/src/storage/upload/helpers.ts b/packages/thirdweb/src/storage/upload/helpers.ts index 6ef94b12f84..37211200337 100644 --- a/packages/thirdweb/src/storage/upload/helpers.ts +++ b/packages/thirdweb/src/storage/upload/helpers.ts @@ -125,7 +125,7 @@ export function buildFormData( // but then we skip because we don't need to upload it multiple times continue; } - // otherwise if file names are the same but they are not the same file then we should throw an error (trying to upload to differnt files but with the same names) + // otherwise if file names are the same but they are not the same file then we should throw an error (trying to upload to different files but with the same names) throw new Error( `[DUPLICATE_FILE_NAME_ERROR] File name ${fileName} was passed for more than one different file.`, );