<commit_before>var express = require('express');
var router = express.Router();
var company = require('../controllers/companies.controller.js')
const multer = require('multer')
var passwordHash = require('password-hash');
var passport = require('passport')
var verifyToken = require('../helpers/verifyToken');

router.post('/auth/register',company.register)
router.post('/auth/login', passport.authenticate('company-login'),company.login)
router.put('/:id',multer({ dest: './uploads/' }).single('uploads'),company.editProfile)
router.put('/:id/buyRequest',company.checkCorporate,multer({ dest: './uploads/' }).single('uploads'),company.createBuyRequest)<commit_msg>adding send email when reply request2<commit_after>var express = require('express');
var router = express.Router();
var company = require('../controllers/companies.controller.js')
const multer = require('multer')
var passwordHash = require('password-hash');
var passport = require('passport')
var verifyToken = require('../helpers/verifyToken');

router.post('/auth/register',company.register)
router.post('/auth/login', passport.authenticate('company-login'),company.login)
router.put('/:id/acceptMessage',company.acceptMessage)
router.put('/:id/rejectMessage',company.rejectMessage)
router.put('/:id',multer({ dest: './uploads/' }).single('uploads'),company.editProfile)
router.put('/:id/buyRequest',company.checkCorporate,multer({ dest: './uploads/' }).single('uploads'),company.createBuyRequest)
{'fraction_non_alphanumeric': 0.1912568306010929, 'fraction_numerical': 0.0006830601092896175, 'mean_word_length': 7.617647058823529, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3485669', 'n_tokens_mistral': 423, 'n_tokens_neox': 403, 'n_words': 70}