Handling the Response

In this lesson, we'll handle the response from the API.

Our service is ready. It’s time to load it in the validator so that we can use it.

Using the service

In the compromised-password.ts file, we’ll import the service and inject it into the validator.

Get hands-on with 1300+ tech skills courses.