const enums = require('../../enums');

function logout(_req, res) {
  res.clearCookie('access_token');
  return res.status(enums.statusCode.OK).send({
    success: true,
    message: 'logout_success',
  });
}

module.exports = logout;
