Skip to content

Commit ba6cab9

Browse files
committed
fix
1 parent c7ad3a5 commit ba6cab9

File tree

1 file changed

+1
-2
lines changed
  • packages/asset-uploader/src/clients/s3

1 file changed

+1
-2
lines changed

packages/asset-uploader/src/clients/s3/upload.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ export const uploadToS3 = async ({
8181
}
8282

8383
const assetData = await getAssetData({
84-
type:
85-
type.startsWith("image") || type.startsWith("video") ? "image" : "font",
84+
type: type.startsWith("image") ? "image" : "font",
8685
size: data.byteLength,
8786
data: new Uint8Array(data),
8887
name,

0 commit comments

Comments
 (0)