Skip to content

Commit

Permalink
forgot last updated
Browse files Browse the repository at this point in the history
  • Loading branch information
EricAndrechek committed Apr 11, 2024
1 parent 1de8c90 commit 6dd722b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tracking-dashboard/backend/api/map.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def getTails():
data[name] = {
"name": name,
"symbol": item.symbol,
"positions": []
"positions": [],
"last_updated": item.last_updated
}
for position in positions:
if position["callsign"] == item.callsign and position["ssid"] == item.ssid:
Expand All @@ -59,7 +60,7 @@ def getTails():
"cse": position["course"],
"cpd": position["speed"],
"cmnt": position["comment"],
"timestamp": position["timestamp"]
"dt": position["timestamp"]
})

return jsonify(data)

0 comments on commit 6dd722b

Please sign in to comment.