Team names changed to abbreviations

This commit is contained in:
2024-04-03 23:37:39 -06:00
parent 1d50359612
commit 0e126f95ce

View File

@@ -32,12 +32,12 @@ const fetchMatchesData = async (req, res, next) => {
const matches = response.data.matches.map(match => ({ const matches = response.data.matches.map(match => ({
homeTeam: homeTeam:
{ {
name: match.homeTeam.name, name: match.homeTeam.tla,
crest: match.homeTeam.crest, crest: match.homeTeam.crest,
}, },
awayTeam: awayTeam:
{ {
name: match.awayTeam.name, name: match.awayTeam.tla,
crest: match.awayTeam.crest, crest: match.awayTeam.crest,
}, },
score: score: