here's my code [import express from "express";
import {
  createPost,
  searchPosts,
  viewPost,
  createComment,
  displayPosts,
  deletePost,
  displayUserPosts,
} from "../controllers/post.js";
import { verifyToken } from "../verifyToken.js";
import multer from "multer";

const router = express.Router();
const imgConfig = multer.diskStorage({
  destination: (req, file, callback) => {
    callback(null, "./uploads");
  },
  filename: (req, file, callback) => {
    callback(null, `image-${Date.now()}.${file.originalName}`);
  },
});
const vidConfig = multer.diskStorage({
  destination: (req, file, callback) => {
    callback(null, "./uploads");
  },
  filename: (req, file, callback) => {
    callback(null, `video-${Date.now()}.${file.originalname}`);
  },
});
const isImage = (req, file, callback) => {
  if (file.mimetype.startsWith("image_data")) {
    callback(null, true);
  } else {
    callback(null, Error("only image is allowed"));
  }
};
const isVideo = (req, file, callback) => {
  if (file.mimetype.startsWith("video")) {
    callback(null, true);
  } else {
    callback(null, Error("Only video files are allowed."));
  }
};
const uploadImage = multer({
  storage: imgConfig,
  fileFilter: isImage,
}).single("image_data");

const uploadVideo = multer({
  storage: vidConfig,
  fileFilter: isVideo,
}).single("video_url");
// Route for creating a new video post
router.post("/", (req, res) => {
  uploadImage(req, res, (imageError) => {
    if (imageError) {
      console.error(imageError);
      return res.status(500).json({ message: "Error uploading image file." });
    }

    uploadVideo(req, res, (videoError) => {
      if (videoError) {
        console.error(videoError);
        return res.status(500).json({ message: "Error uploading video file." });
      }

      console.log(req.file); // Contains the uploaded image file
      console.log(req.file); // Contains the uploaded video file

      // Rest of your code for creating a new video post
      // Retrieve other form data from req.body and process accordingly

      // Example response
      return res
        .status(200)
        .json({ message: "Video post created successfully." });
    });
  });
});
] and i got this error MulterError: Unexpected field
    at wrappedFileFilter (/Users/billy/csc317-code-bilguungzt/api/node_modules/multer/index.js:40:19)
    at Multipart.<anonymous> (/Users/billy/csc317-code-bilguungzt/api/node_modules/multer/lib/make-middleware.js:107:7)
    at Multipart.emit (node:events:513:28)
    at HeaderParser.cb (/Users/billy/csc317-code-bilguungzt/api/node_modules/busboy/lib/types/multipart.js:358:14)
    at HeaderParser.push (/Users/billy/csc317-code-bilguungzt/api/node_modules/busboy/lib/types/multipart.js:162:20)
    at SBMH.ssCb [as _cb] (/Users/billy/csc317-code-bilguungzt/api/node_modules/busboy/lib/types/multipart.js:394:37)
    at feed (/Users/billy/csc317-code-bilguungzt/api/node_modules/streamsearch/lib/sbmh.js:248:10)
    at SBMH.push (/Users/billy/csc317-code-bilguungzt/api/node_modules/streamsearch/lib/sbmh.js:104:16)
    at Multipart._write (/Users/billy/csc317-code-bilguungzt/api/node_modules/busboy/lib/types/multipart.js:567:19)
    at writeOrBuffer (node:internal/streams/writable:392:12) {
  code: 'LIMIT_UNEXPECTED_FILE',
  field: 'video_url',
  storageErrors: []
}