+
diff --git a/skouter.go b/skouter.go
index c49e584..a5be0e0 100644
--- a/skouter.go
+++ b/skouter.go
@@ -366,9 +366,9 @@ func summarize(w http.ResponseWriter, db *sql.DB, r *http.Request) {
var estimate Estimate
err := json.NewDecoder(r.Body).Decode(&estimate)
if err != nil { http.Error(w, "Invalid estimate.", 422); return }
- results := estimate.makeResults()
+ estimate.makeResults()
- json.NewEncoder(w).Encode(results)
+ json.NewEncoder(w).Encode(estimate)
}
func getLoanType( db *sql.DB, id int) (LoanType, error) {