Closed dotaguro closed 4 years ago
Park Tokyo Disney parks
Context
Describe the bug Looks like Tokyo has changed their format. The new response for FetchWaitTimesJSON has attractions shaped like this: { "id": 61, "facilityCode": "242", "standbyTime": 80, "standbyTimeDisplayType": "NORMAL", "startAt": "2019-09-12T23:00:00.000Z", "isSunset": false, "fastPassStatus": "TICKETING", "fastPassStartAt": "14:55", "fastPassEndAt": "15:55", "fastPassStartDateTime": "2019-09-13T05:55:00.000Z", "fastPassEndDateTime": "2019-09-13T06:55:00.000Z", "operatings": [ { "startAt": "2019-09-12T23:00:00.000Z", "endAt": "2019-09-13T13:00:00.000Z", "operatingStatus": "OPEN", "operatingStatusMessage": "運営中", "isSunset": false } ] }
So operatingStatus is buried in an array now, and the code expects it at the top: } else if (ride.operatingStatus === 'OPEN') {
I'll see if I can put together a CL that fixes it tomorrow if you haven't gotten to it first.
Park Tokyo Disney parks
Context
Describe the bug Looks like Tokyo has changed their format. The new response for FetchWaitTimesJSON has attractions shaped like this: { "id": 61, "facilityCode": "242", "standbyTime": 80, "standbyTimeDisplayType": "NORMAL", "startAt": "2019-09-12T23:00:00.000Z", "isSunset": false, "fastPassStatus": "TICKETING", "fastPassStartAt": "14:55", "fastPassEndAt": "15:55", "fastPassStartDateTime": "2019-09-13T05:55:00.000Z", "fastPassEndDateTime": "2019-09-13T06:55:00.000Z", "operatings": [ { "startAt": "2019-09-12T23:00:00.000Z", "endAt": "2019-09-13T13:00:00.000Z", "operatingStatus": "OPEN", "operatingStatusMessage": "運営中", "isSunset": false } ] }
So operatingStatus is buried in an array now, and the code expects it at the top: } else if (ride.operatingStatus === 'OPEN') {
I'll see if I can put together a CL that fixes it tomorrow if you haven't gotten to it first.