Team names changed to abbreviations
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user