diff options
author | Anton Tananaev <anton@traccar.org> | 2022-06-11 15:50:37 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2022-06-11 15:50:37 -0700 |
commit | 9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9 (patch) | |
tree | 67068fefd99462b8a4332fe9f3ce5bb5ebe3c1b7 /src/main/java/org/traccar/MainModule.java | |
parent | 8e544be128f7713fecfe91ff08f16044c64bf238 (diff) | |
download | trackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.tar.gz trackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.tar.bz2 trackermap-server-9c9e62bdba68a1f1d29cd5082ffd47eb1f46dab9.zip |
Fix injection
Diffstat (limited to 'src/main/java/org/traccar/MainModule.java')
-rw-r--r-- | src/main/java/org/traccar/MainModule.java | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -118,6 +118,11 @@ public class MainModule extends AbstractModule { } @Provides + public static UsersManager provideUsersManager() { + return Context.getUsersManager(); + } + + @Provides public static IdentityManager provideIdentityManager() { return Context.getIdentityManager(); } |