We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 884d9a0 commit 25a69f3Copy full SHA for 25a69f3
1 file changed
openaev-api/src/main/java/io/openaev/config/security/SecurityService.java
@@ -19,6 +19,7 @@
19
import java.util.UUID;
20
import lombok.RequiredArgsConstructor;
21
import lombok.extern.slf4j.Slf4j;
22
+import org.springframework.context.annotation.Lazy;
23
import org.springframework.core.env.Environment;
24
import org.springframework.stereotype.Service;
25
@@ -40,7 +41,7 @@ public class SecurityService {
40
41
private final UserMappingService userMappingService;
42
private final Environment env;
43
private final UserEventService userEventService;
- private final TenantService tenantService;
44
+ private final @Lazy TenantService tenantService;
45
46
public User userManagement(
47
String emailAttribute,
0 commit comments