Users array does not come in event

Vm 3 years ago

Hello
After updating to Traccar server version 5.2, the "event" event stopped receiving the users array.

 "users": [
    {
      "id": 5,
      "attributes": {
        "speedUnit": "kmh"
      },
      "name": "Anna",
      "login": "",
      "email": "12@12.com",
      "phone": "",
      "readonly": false,
      "administrator": false,
      "map": "",
      "latitude": 0,
      "longitude": 0,
      "zoom": 0,
      "twelveHourFormat": false,
      "coordinateFormat": "",
      "disabled": false,
      "expirationTime": null,
      "deviceLimit": -1,
      "userLimit": 0,
      "deviceReadonly": false,
      "token": "rere32",
      "limitCommands": false,
      "poiLayer": "",
      "disableReports": false,
      "password": null
    }
Anton Tananaev 3 years ago

Unfortunately that's a limitation due to the cache changes.

Vm 3 years ago

Is it possible to add only the user id? This helps with filtering events from different cabinets.
Now we have found a solution through additional fields, but this is not very convenient.

Anton Tananaev 3 years ago

Getting IDs is the hardest part.

Vm 3 years ago

Good. We hope this issue will be resolved.

Anton Tananaev 3 years ago

Please create a ticket for it on GitHub.