diff --git a/app/routes/settings+/profile.photo.tsx b/app/routes/settings+/profile.photo.tsx index 5659ffd4e..766cdb46f 100644 --- a/app/routes/settings+/profile.photo.tsx +++ b/app/routes/settings+/profile.photo.tsx @@ -74,7 +74,6 @@ export async function action({ request }: Route.ActionArgs) { return { intent: data.intent, image: { - contentType: data.photoFile.type, objectKey: await uploadProfileImage(userId, data.photoFile), }, } diff --git a/app/routes/users+/$username_+/__note-editor.server.tsx b/app/routes/users+/$username_+/__note-editor.server.tsx index 8ddb621cc..4ac8a5830 100644 --- a/app/routes/users+/$username_+/__note-editor.server.tsx +++ b/app/routes/users+/$username_+/__note-editor.server.tsx @@ -56,7 +56,6 @@ export async function action({ request }: ActionFunctionArgs) { return { id: i.id, altText: i.altText, - contentType: i.file.type, objectKey: await uploadNoteImage(userId, noteId, i.file), } } else { @@ -74,7 +73,6 @@ export async function action({ request }: ActionFunctionArgs) { .map(async (image) => { return { altText: image.altText, - contentType: image.file.type, objectKey: await uploadNoteImage(userId, noteId, image.file), } }),