xtmalliance / argon-server

A standards compliant Network Remote ID / Flight Authorisation / Geofence / Traffic Information server for UTM / U-Space. Includes integrations for consuming live flight data, non-repudiation of telemetry etc.
https://xtmalliance.org
Apache License 2.0
5 stars 10 forks source link

[BUGFIX] When setting the Telemetry data in PUT /set_telemetry an invalid flight datetime query filter is used #117

Open cyapa opened 7 months ago

cyapa commented 7 months ago

Bug: When setting the telemetry, the query to retrieve active flights was set to 2 minutes before now - 5 hours after now This will prevent the storing of telemetry because there can be active flights that are not started only 2 minutes before

Fix: Changed the flight datetime query so that it fetches all flight plans that falls between now time example: flight_starttime -> now <-flight_endtime