Made the adapter object an adapter (was a repository) inside the dependencyinjection file.