Fix mtg issue and update json.net

This commit is contained in:
runebaas 2019-05-16 22:40:11 +02:00
parent 8f861ee0bc
commit 57698c8ce6
No known key found for this signature in database
GPG key ID: 2677AF508D0300D6
3 changed files with 3 additions and 4 deletions

View file

@ -32,7 +32,6 @@ namespace Geekbot.net.Commands.Integrations
var result = service
.Where(x => x.Name, cardName)
// fewer cards less risk of deserialization problems, don't need more than one anyways...
// ToDo: fix the deserialization issue in card[n].foreignNames[]
.Where(x => x.PageSize, 1);
var card = result.All().Value.FirstOrDefault();