Skip to content

Commit

Permalink
removed externalUserrepository
Browse files Browse the repository at this point in the history
  • Loading branch information
Erling Jahr committed Nov 20, 2023
1 parent 6a74268 commit 2d27084
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
16 changes: 0 additions & 16 deletions src/main/java/no/fintlabs/externalUser/ExternalUserRepository.java

This file was deleted.

10 changes: 2 additions & 8 deletions src/main/java/no/fintlabs/externalUser/ExternalUserService.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,13 @@
import no.fintlabs.user.UserService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Optional;
import java.util.function.Consumer;


@Service
@Slf4j
public class ExternalUserService {
private final ExternalUserRepository externalUserRepository;

private final UserService userService;

public ExternalUserService(ExternalUserRepository externalUserRepository, UserService userService) {
this.externalUserRepository = externalUserRepository;
public ExternalUserService(UserService userService) {
this.userService = userService;
}

Expand Down

0 comments on commit 2d27084

Please sign in to comment.