Closed piozygmunt closed 6 years ago
I will look into this
Thanks for answer. Seems like i found the problem. You send creating tournament request in this format :
{"name":"test_cup","tournament_type":"double elimination","url":"testcup-123","subdomain":"subdomainasd", ...}
while it should be like this :
{"tournament":{"name":"test_cup","tournament_type":"double elimination","url":"testcup-123","subdomain":"subdomainasd",..}}
so it needs to be wrapped in tournament property (atleast it works for me in that way). Would be nice if you could update it and make changes in maven :)
Fixed in ed762e557c49a34fea9000083415c00327f1a71b. I also added methods to TournamentHandler
that allow an easier use of subdomains.
Hey. I've got problem with creating new tournament under specific domain. Here is my code:
first output prints subdomain correctly, second returns null. Tournament is created under challonge.com/url instead of subdomain.challonge.com/url. No exceptions are being thrown. I have rights to create tournaments under that domain. Any ideas whats wrong ?