// adapters/responses/login.adapter.js
function mapLoginRequestToLoginInput(input) {
  return {
    email: input.email,
    password: input.password,
  }
}

function mapLoginResultToResponse(result) {
  return {
    user: result.user,
  }
}

module.exports = {
  mapLoginRequestToLoginInput,
  mapLoginResultToResponse,
}
