thejosejorge / futcal-for-scriptable

Futcal is a football widget for Scriptable.
76 stars 25 forks source link

Error caused by table data API change #33

Closed offbeat00 closed 2 years ago

offbeat00 commented 2 years ago

An error occurred while using it frequently. Do you know how to solve it?

beratgashi commented 2 years ago

+1

thejosejorge commented 2 years ago

Hi guys,

Thanks for reporting this issue. The API changed again, in order to fix the problem please replace: let leagueTable = teamData.tableData.tables[0].table; [line 328 in my case] with: let leagueTable = teamData.tableData.tables[0].table.all;

I will try to upload a new version with this fix still today.

Thanks, José

beratgashi commented 2 years ago

Thanks, you're so fast bro i appreciate that!

thejosejorge commented 2 years ago

Hi @beratgashi,

No problem! I have update the script with this change. Please let me know if you still have any problems, otherwise I will close the issue!

Thanks, José

beratgashi commented 2 years ago

@thejosejorge everything works fine now thanks 😊

thejosejorge commented 2 years ago

@beratgashi thanks for the quick feedback! Closing the ticket.

offbeat00 commented 2 years ago

Thank you so much! I also solved by that solution. have a nice day bro :)

michel0271 commented 2 years ago

@thejosejorge i replaced the code in the line and it works again. Before I had downloaded the last version but the bug was still there.

thejosejorge commented 2 years ago

Hi @michel0271,

Were you having problems with the latest version of the script? What's your team's id?

Thanks, Jose

michel0271 commented 2 years ago

BVB, Borussia Dortmund. I have Download the latest Version. But the Bug was always there. Changing in the Line manuely works for me

Michel Deblock

Am 06.02.2022 um 16:42 schrieb Jose Jorge @.***>:



Hi @michel0271https://github.com/michel0271,

Were you having problems with the latest version of the script? What's your team's id?

Thanks, Jose

— Reply to this email directly, view it on GitHubhttps://github.com/thejosejorge/futcal-for-scriptable/issues/33#issuecomment-1030857844, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJKRLI3EZIMGMCFOWSHZHCLUZ2JEVANCNFSM5MMY3MJQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you were mentioned.Message ID: @.***>