text: import jwt from 'jsonwebtoken'
  
  const generateToken = (userId) => {
      return jwt.sign({
          userId
      }, process.env.JWT_SECRET, {
          expiresIn: '2 days'
      })
  }
  
  export {
      generateToken as
      default
  }