Skip to content

Commit b2ca52d

Browse files
authored
Update helpers.ts
Signed-off-by: Maxim Evtush <154841002+maximevtush@users.noreply.github.com>
1 parent c86e13b commit b2ca52d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/thirdweb/src/storage/upload/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export function buildFormData(
125125
// but then we skip because we don't need to upload it multiple times
126126
continue;
127127
}
128-
// 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)
128+
// 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)
129129
throw new Error(
130130
`[DUPLICATE_FILE_NAME_ERROR] File name ${fileName} was passed for more than one different file.`,
131131
);

0 commit comments

Comments
 (0)