MagicTheGathering / mtg-sdk-javascript

Magic: The Gathering SDK - Javascript
MIT License
285 stars 61 forks source link

mtg.card.where overwrites the page property with 0 #21

Closed SektorDV closed 5 years ago

SektorDV commented 5 years ago

passing a page property to mtg.card.where results in a page=0 call to the API. i suggest replacing line 10 in querybuilder.js with page: args.page||page in order to fix this issue

raineorshine commented 5 years ago

Fixed and published in v0.4.3