diff --git a/lib/transport_helper.dart b/lib/transport_helper.dart index 638c538..987724b 100644 --- a/lib/transport_helper.dart +++ b/lib/transport_helper.dart @@ -85,7 +85,7 @@ class Route { json["LegList"]["Leg"][-1]["Origin"]["time"] - json["LegList"]["Leg"][0]["Origin"]["time"], ); - newRoute.dbInsertRoute(); + newRoute.dbInsert(); return newRoute; }