text: import { getSanityRef } from "../../../lib/getSanityRef"
  
  export default async function verifyUser(req, res, next) {
    let cusRef = await getSanityRef("customer", "email", req.body.email)
    if (cusRef.lenght == 0) {
      res.json({ message: "notFound" })
    } else {
      next()
    }
  }
  