ezraroi / MundialitoV2

Social Football Betting Web Application
1 stars 1 forks source link

empty bets displayed when odds package is not activated in football-data #51

Open ezraroi opened 1 week ago

ezraroi commented 1 week ago
{
    "area": {
        "id": 2077,
        "name": "Europe",
        "code": "EUR",
        "flag": "https://crests.football-data.org/EUR.svg"
    },
    "competition": {
        "id": 2018,
        "name": "European Championship",
        "code": "EC",
        "type": "CUP",
        "emblem": "https://crests.football-data.org/ec.png"
    },
    "season": {
        "id": 1537,
        "startDate": "2024-06-14",
        "endDate": "2024-07-14",
        "currentMatchday": 3,
        "winner": null
    },
    "id": 428760,
    "utcDate": "2024-06-25T16:00:00Z",
    "status": "TIMED",
    "venue": "Signal Iduna Park",
    "matchday": 3,
    "stage": "GROUP_STAGE",
    "group": "GROUP_D",
    "lastUpdated": "2024-06-25T10:21:32Z",
    "homeTeam": {
        "id": 773,
        "name": "France",
        "shortName": "France",
        "tla": "FRA",
        "crest": "https://crests.football-data.org/773.svg"
    },
    "awayTeam": {
        "id": 794,
        "name": "Poland",
        "shortName": "Poland",
        "tla": "POL",
        "crest": "https://crests.football-data.org/794.svg"
    },
    "score": {
        "winner": null,
        "duration": "REGULAR",
        "fullTime": {
            "home": null,
            "away": null
        },
        "halfTime": {
            "home": null,
            "away": null
        }
    },
    "odds": {
        "msg": "Activate Odds-Package in User-Panel to retrieve odds."
    },
    "referees": []
}
ezraroi commented 1 week ago

image