summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--server.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/server.go b/server.go
index 626a542..b1faa8b 100644
--- a/server.go
+++ b/server.go
@@ -115,13 +115,13 @@ func getHandler(w http.ResponseWriter, r *http.Request) {
 1 25544U 98067A   19229.39083552  .00000228  00000-0  11917-4 0  9993
 2 25544  51.6447  57.6210 0007373 294.0868 138.8050 15.50381554184754`
 
-		JsonTLE, err := TLE.NewTLE(RawTLE)
+		JSONTLE, err := TLE.NewTLE(RawTLE)
 		if err != nil {
 			fmt.Println(err)
 		}
 
 		// convert the TLE to json
-		b, err := json.MarshalIndent(JsonTLE, "", " ")
+		b, err := json.MarshalIndent(JSONTLE, "", " ")
 		if err != nil {
 			fmt.Println("error: ", err)
 		}