aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-08-18 16:22:42 -0700
committerAnton Tananaev <anton@traccar.org>2022-08-18 16:22:42 -0700
commit3899dddebcee96b80d5c939f50b846ef5042a7ff (patch)
treeac524d075a394acb1937ef55efb74802308a7bb2
parent6bce58763ef9b8ba3b75139114f727c5685694d0 (diff)
downloadtrackermap-server-3899dddebcee96b80d5c939f50b846ef5042a7ff.tar.gz
trackermap-server-3899dddebcee96b80d5c939f50b846ef5042a7ff.tar.bz2
trackermap-server-3899dddebcee96b80d5c939f50b846ef5042a7ff.zip
Firebase include event id
-rw-r--r--src/main/java/org/traccar/notificators/NotificatorFirebase.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/org/traccar/notificators/NotificatorFirebase.java b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
index ecf3fbb70..6510963c7 100644
--- a/src/main/java/org/traccar/notificators/NotificatorFirebase.java
+++ b/src/main/java/org/traccar/notificators/NotificatorFirebase.java
@@ -80,6 +80,7 @@ public class NotificatorFirebase implements Notificator {
.build())
.build())
.addAllTokens(registrationTokens)
+ .putData("eventId", String.valueOf(event.getId()))
.build();
try {