Skip to content

Commit 3c6a573

Browse files
committed
debug
1 parent 3e6a46e commit 3c6a573

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/internal/uploads.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,10 @@ export const createForm = async <T = Record<string, unknown>>(
128128

129129
// We check for Blob not File because Bun.File doesn't inherit from File,
130130
// but they both inherit from Blob and have a `name` property at runtime.
131-
const isNamedBlob = (value: object) => value instanceof File || (value instanceof Blob && 'name' in value);
131+
const isNamedBlob = (value: object) => {
132+
console.log({ File });
133+
return value instanceof File || (value instanceof Blob && 'name' in value);
134+
};
132135

133136
const isUploadable = (value: unknown) =>
134137
typeof value === 'object' &&

0 commit comments

Comments
 (0)