From 509c0bf73f0b1dcb4f127d8ef0402eeb658723d5 Mon Sep 17 00:00:00 2001 From: Ske Date: Wed, 16 Sep 2020 20:47:01 +0200 Subject: [PATCH] Fix Tupperbox importing by ignoring extra fields --- PluralKit.Bot/Commands/ImportExport.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/PluralKit.Bot/Commands/ImportExport.cs b/PluralKit.Bot/Commands/ImportExport.cs index 377580b0..d0be47ab 100644 --- a/PluralKit.Bot/Commands/ImportExport.cs +++ b/PluralKit.Bot/Commands/ImportExport.cs @@ -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;