Closed cohenu closed 5 years ago
@dolejska-daniel We didn't test other endpoints but this might affect any endpoint that accepts arrays. Just a heads up.
As per API Documentation, arrays (Set[int]
) should be supported by API endpoint. I'll contact API guys about that.
So there was a problem when building URL query parameters, the parameters are accepted in kind of non-standard way on the API. Should be fixed now.
@dolejska-daniel Hey, i noticed the fix was pushed to master but a new version wasn't pushed to composer.
Whoops, forgot! Fixed 😸.
Describe the bug Ever since v3.0.2
getMatchlistByAccount
doesn't accept arrays when the documentation lists the fields asint|array
. The fields are:$queue
$season
$champion
The method returns the following error:
The match list endpoint should be able to retrieve data for multiple queues/seasons/champions.
To Reproduce Steps to reproduce the behavior:
LeagueAPI
getMatchlistByAccount
and set one of the affected fields as an array of integersExpected behavior Should return a match list with the supplied filters applied.
Screenshots Not relevant
Server (please complete the following information):
Additional context Seems like a constraint was placed on the fields and it no longer accepts arrays.