dolejska-daniel / riot-api

Riot League of Legends & DataDragon API wrappers for PHP7 and PHP8.
GNU General Public License v3.0
112 stars 25 forks source link

Error on getMatchlistByAccount and createTournamentCodes and createTournamentCodes_STUB #36

Closed kvacquier closed 5 years ago

kvacquier commented 5 years ago

Describe the bug Cant do the request properly

To Reproduce Steps to reproduce the behavior: use the functions with arguments

Solution: Add a '?' at the end of the setressource argument string exemple "setResource(self::RESOURCE_MATCH, "/matchlists/by-account/%i?")"

dolejska-daniel commented 5 years ago

There has been a problem with generating URLs when using query parameters in request.

regiszanandrea commented 5 years ago

Hi @dolejska-daniel, I'm still getting error 500 on createTournamentCodes function using 3.0.1 version, any thoughts if it is RIOT or the library?