From 9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Sat, 11 Jun 2022 15:50:37 -0700 Subject: Fix injection --- src/main/java/org/traccar/MainModule.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/main') diff --git a/src/main/java/org/traccar/MainModule.java b/src/main/java/org/traccar/MainModule.java index 2c88dbc13..ed54853ed 100644 --- a/src/main/java/org/traccar/MainModule.java +++ b/src/main/java/org/traccar/MainModule.java @@ -117,6 +117,11 @@ public class MainModule extends AbstractModule { return Context.getDataManager(); } + @Provides + public static UsersManager provideUsersManager() { + return Context.getUsersManager(); + } + @Provides public static IdentityManager provideIdentityManager() { return Context.getIdentityManager(); -- cgit v1.2.3