Fix Tupperbox importing by ignoring extra fields
This commit is contained in:
parent
7075c61756
commit
509c0bf73f
@ -44,11 +44,7 @@ namespace PluralKit.Bot
|
|||||||
if (!response.IsSuccessStatusCode) throw Errors.InvalidImportFile;
|
if (!response.IsSuccessStatusCode) throw Errors.InvalidImportFile;
|
||||||
var json = await response.Content.ReadAsStringAsync();
|
var json = await response.Content.ReadAsStringAsync();
|
||||||
|
|
||||||
var settings = new JsonSerializerSettings
|
var settings = new JsonSerializerSettings();
|
||||||
{
|
|
||||||
MissingMemberHandling = MissingMemberHandling.Error
|
|
||||||
};
|
|
||||||
|
|
||||||
|
|
||||||
DataFileSystem data;
|
DataFileSystem data;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user