fix: this should have been moved commits ago

This commit is contained in:
etwas 2025-04-15 21:48:41 +02:00
parent c83a3c2e36
commit b5f6be0bc6
Signed by: etwas
SSH key fingerprint: SHA256:bHhIeAdn/2k9jmOs6+u6ox98VYmoHUN3HfnpV2w8Ws0

View file

@ -323,7 +323,6 @@ func (h *stopDeparturesHandler) ServeHTTP(w http.ResponseWriter, r *http.Request
} }
// Return Data // Return Data
w.Header().Set("Content-Type", "application/json")
w.WriteHeader(http.StatusOK) w.WriteHeader(http.StatusOK)
err = enc.Encode(stationsReturn) err = enc.Encode(stationsReturn)