From fad702c3c870b7c986ecbf07ac7e225290e9a3aa Mon Sep 17 00:00:00 2001 From: himeshr Date: Fri, 29 Nov 2024 14:40:20 +0530 Subject: [PATCH] #788 | fix build break --- .../org/avni/server/web/MetabaseController.java | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/avni-server-api/src/main/java/org/avni/server/web/MetabaseController.java b/avni-server-api/src/main/java/org/avni/server/web/MetabaseController.java index bb7c34dca..d827b78d4 100644 --- a/avni-server-api/src/main/java/org/avni/server/web/MetabaseController.java +++ b/avni-server-api/src/main/java/org/avni/server/web/MetabaseController.java @@ -1,15 +1,13 @@ package org.avni.server.web; + import org.avni.server.domain.Organisation; +import org.avni.server.domain.accessControl.PrivilegeType; import org.avni.server.domain.metabase.SyncStatus; import org.avni.server.framework.security.UserContextHolder; -import org.avni.server.service.metabase.DatabaseService; -import org.avni.server.domain.accessControl.PrivilegeType; -import org.avni.server.dao.metabase.MetabaseConnector; -import org.avni.server.dao.metabase.DatabaseRepository; -import org.avni.server.service.metabase.MetabaseService; -import org.avni.server.service.metabase.MetabaseUserService; import org.avni.server.service.OrganisationConfigService; import org.avni.server.service.accessControl.AccessControlService; +import org.avni.server.service.metabase.DatabaseService; +import org.avni.server.service.metabase.MetabaseService; import org.avni.server.web.response.metabase.CreateQuestionsResponse; import org.avni.server.web.response.metabase.SetupStatusResponse; import org.avni.server.web.response.metabase.SetupToggleResponse; @@ -20,15 +18,13 @@ public class MetabaseController { private final DatabaseService databaseService; private final MetabaseService metabaseService; - private final MetabaseUserService userService; private final AccessControlService accessControlService; private final OrganisationConfigService organisationConfigService; - public MetabaseController(DatabaseService databaseService,MetabaseService metabaseService, MetabaseUserService userService , MetabaseConnector metabaseConnector,DatabaseRepository databaseRepository,AccessControlService accessControlService ,OrganisationConfigService organisationConfigService) { + public MetabaseController(DatabaseService databaseService, MetabaseService metabaseService, AccessControlService accessControlService, OrganisationConfigService organisationConfigService) { this.databaseService = databaseService; this.metabaseService = metabaseService; - this.userService = userService; - this.accessControlService= accessControlService; + this.accessControlService = accessControlService; this.organisationConfigService = organisationConfigService; }