Fix Tupperbox importing by ignoring extra fields

This commit is contained in:
Ske 2020-09-16 20:47:01 +02:00
parent 7075c61756
commit 509c0bf73f

View File

@ -44,11 +44,7 @@ namespace PluralKit.Bot
if (!response.IsSuccessStatusCode) throw Errors.InvalidImportFile;
var json = await response.Content.ReadAsStringAsync();
var settings = new JsonSerializerSettings
{
MissingMemberHandling = MissingMemberHandling.Error
};
var settings = new JsonSerializerSettings();
DataFileSystem data;