custom-routes.js 1017 Bytes
const routes = {
  routes: [
    {
      method: "POST",
      path: "/vendor/finish-otp-verification",
      handler: "api::vendor.vendor.finishVendorOtpVerification",
      config: {
        //some Configuration
      },
    },
    {
      method: "POST",
      path: "/jeweler/import-seed-data",
      handler: "api::vendor.vendor.importSeedData",
      config: {
        // some configuration...
      }
    },
    {
      method: "POST",
      path: "/vendor/removedirectory/delete",
      handler: "api::vendor.vendor.removedirectory",
      config: {
        // some configuration...
        
      }
    },
    {
      method: "POST",
      path: "/vendor/send-mail",
      handler: "api::vendor.vendor.sendMail",
      config: {
        // some configuration...
        
      }
    },
    {
      method: "POST",
      path: "/vendor/updateVendorId",
      handler: "api::vendor.vendor.addVendorId",
      config: {
        // some configuration...
        
      }
    },
  ],
};

module.exports = routes;