Skip to content

Commit

Permalink
remove logging from create image route
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendon-Hablutzel committed Mar 1, 2025
1 parent 954ea3b commit 038f893
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/routes/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const imageRouter = express.Router()

// takes an image in the body, uploads it to s3, and adds it to the database--ensure that it acts like a transaction
imageRouter.post('/', upload.single('image'), async (req, res) => {
console.log('create image request', req)
const pre: any = toCamelCaseBody(req.body)
const parsedImageBody = ImageSubmissionFormSchema.safeParse(pre)
if (parsedImageBody.error || !req.file) {
Expand Down

0 comments on commit 038f893

Please sign in to comment.