diff options
author | Abyss777 <abyss@fox5.ru> | 2016-12-04 17:33:17 +0700 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2016-12-04 17:33:17 +0700 |
commit | 6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd (patch) | |
tree | 1c11f3a9233a2a35ef921f6ab408984202da74b9 /src/org/traccar/api/resource | |
parent | c9232000e595b0addd4bf7bbaf7a90e088c94624 (diff) | |
download | trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.gz trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.tar.bz2 trackermap-server-6bfda86daaef7ce7b591f2fe1b33ab3b1d5ca2cd.zip |
Use model instead of attributes to store Notification options
Diffstat (limited to 'src/org/traccar/api/resource')
-rw-r--r-- | src/org/traccar/api/resource/NotificationResource.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/api/resource/NotificationResource.java b/src/org/traccar/api/resource/NotificationResource.java index 6c9725f37..03f7e4ba0 100644 --- a/src/org/traccar/api/resource/NotificationResource.java +++ b/src/org/traccar/api/resource/NotificationResource.java @@ -49,7 +49,7 @@ public class NotificationResource extends BaseResource { userId = getUserId(); } Context.getPermissionsManager().checkUser(getUserId(), userId); - return Context.getNotificationManager().getUserNotifications(userId); + return Context.getNotificationManager().getAllUserNotifications(userId); } @POST |