Skip to content

Commit

Permalink
remove content type
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Feb 21, 2025
1 parent cb89312 commit 98fb7dc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion app/routes/settings+/profile.photo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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),
},
}
Expand Down
2 changes: 0 additions & 2 deletions app/routes/users+/$username_+/__note-editor.server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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),
}
}),
Expand Down

0 comments on commit 98fb7dc

Please sign in to comment.