We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 99d573a commit 73b4ca9Copy full SHA for 73b4ca9
1 file changed
accounts/src/main/java/org/restheart/accounts/SwitchTenantService.java
@@ -9,6 +9,7 @@
9
import org.restheart.plugins.accounts.MembershipProvider;
10
import org.restheart.accounts.util.Errors;
11
import org.restheart.accounts.util.JwtHelper;
12
+import org.restheart.accounts.util.DbHelper;
13
import org.restheart.accounts.util.RequestOverrides;
14
import org.restheart.exchange.JsonRequest;
15
import org.restheart.exchange.JsonResponse;
@@ -60,6 +61,9 @@ public class SwitchTenantService implements JsonService {
60
61
@Inject("accountsService")
62
private AccountsService accountsService;
63
64
+ @Inject("mclient")
65
+ private com.mongodb.client.MongoClient mclient;
66
+
67
private JwtHelper jwt;
68
69
@OnInit
0 commit comments