]> gitweb.michael.orlitzky.com - dead/htsn-import.git/blobdiff - src/TSN/XML/Odds.hs
Finish the documentation for ScheduleChanges.
[dead/htsn-import.git] / src / TSN / XML / Odds.hs
index 2ad2d93ebb14111896f35fe6638b36a3a40cc424..0e84ce6e04111a0245cbe0e47e0d7a05965d8e8a 100644 (file)
@@ -187,8 +187,8 @@ instance FromXml OddsGameHomeTeamXml where
   from_xml OddsGameHomeTeamXml{..} =
     Team {
       team_id   = xml_home_team_id,
-      team_abbreviation = Just xml_home_team_abbr,
-      team_name = Just xml_home_team_name }
+      abbreviation = Just xml_home_team_abbr,
+      name = Just xml_home_team_name }
 
 -- | This allows us to insert the XML representation
 --   'OddsGameHomeTeamXml' directly.