The problem is hidden construction of an external service. The refactor should make the dependency explicit and keep production wiring separate.
Read the full lesson
Sign up free: one personalized lesson every day, matched to your role and goals.
Already have an account? Sign in