We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7ad3a5 commit ba6cab9Copy full SHA for ba6cab9
packages/asset-uploader/src/clients/s3/upload.ts
@@ -81,8 +81,7 @@ export const uploadToS3 = async ({
81
}
82
83
const assetData = await getAssetData({
84
- type:
85
- type.startsWith("image") || type.startsWith("video") ? "image" : "font",
+ type: type.startsWith("image") ? "image" : "font",
86
size: data.byteLength,
87
data: new Uint8Array(data),
88
name,
0 commit comments