mirror of
https://github.com/traccar/traccar.git
synced 2025-01-08 11:47:49 +08:00
Fixed style check issue
This commit is contained in:
parent
08ce3f4520
commit
9dc855004c
@ -129,7 +129,8 @@ public class NotificationResource extends ExtendedObjectResource<Notification> {
|
||||
var conditions = new LinkedList<Condition>();
|
||||
conditions.add(new Condition.Equals("id", userId));
|
||||
if (permissionsService.notAdmin(getUserId())) {
|
||||
conditions.add(new Condition.Permission(User.class, getUserId(), ManagedUser.class).excludeGroups());
|
||||
conditions.add(new Condition.Permission(
|
||||
User.class, getUserId(), ManagedUser.class).excludeGroups());
|
||||
}
|
||||
users.add(storage.getObject(
|
||||
User.class, new Request(new Columns.All(), Condition.merge(conditions))));
|
||||
|
Loading…
Reference in New Issue
Block a user