Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admin section: Put validation on sync call to force a match sync from Frenoy #173

Open
JornHeyvaert opened this issue Mar 31, 2021 · 0 comments

Comments

@JornHeyvaert
Copy link
Member

JornHeyvaert commented Mar 31, 2021

It's possible to perform a force match sync towards Frenoy without filling in a match ID on this screen:

image

This results in a 500 error message because we don't give a match ID as a parameter:

POST http://www.ttc-erembodegem.be/api/matches/FrenoyMatchSync?forceSync=true 500 (Something went terribly wrong!)

Possible quick ideas for enhancement:

  • Put validation so that the API call is only made if there is a value filled in in the Match ID
  • Disable the 'Force sync' button and enable it when a value has been filled in
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant