From 0648b63f284a9d5b8e4bde0f0dbfb3a58edecf5b Mon Sep 17 00:00:00 2001 From: Eric Andrechek Date: Wed, 10 Apr 2024 20:36:58 -0400 Subject: [PATCH] fixed ordering of key assignments --- tracking-dashboard/backend/api/data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracking-dashboard/backend/api/data.py b/tracking-dashboard/backend/api/data.py index fb90241..7b549d3 100644 --- a/tracking-dashboard/backend/api/data.py +++ b/tracking-dashboard/backend/api/data.py @@ -75,12 +75,12 @@ def api_rock7_upload(): decoded_data['timestamp'] = data['transmit_time'] # set data to decoded_data - data = decoded_data source = {} source['callsign'] = "ROCK" source['ssid'] = 7 source['timestamp'] = data['transmit_time'] source['type'] = 'json' + data = decoded_data source['data'] = data # accept upload data