Skip to content

Commit 98fb7dc

Browse files
committed
remove content type
1 parent cb89312 commit 98fb7dc

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

app/routes/settings+/profile.photo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ export async function action({ request }: Route.ActionArgs) {
7474
return {
7575
intent: data.intent,
7676
image: {
77-
contentType: data.photoFile.type,
7877
objectKey: await uploadProfileImage(userId, data.photoFile),
7978
},
8079
}

app/routes/users+/$username_+/__note-editor.server.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ export async function action({ request }: ActionFunctionArgs) {
5656
return {
5757
id: i.id,
5858
altText: i.altText,
59-
contentType: i.file.type,
6059
objectKey: await uploadNoteImage(userId, noteId, i.file),
6160
}
6261
} else {
@@ -74,7 +73,6 @@ export async function action({ request }: ActionFunctionArgs) {
7473
.map(async (image) => {
7574
return {
7675
altText: image.altText,
77-
contentType: image.file.type,
7876
objectKey: await uploadNoteImage(userId, noteId, image.file),
7977
}
8078
}),

0 commit comments

Comments
 (0)