mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-14 17:50:13 +00:00
Fix Tupperbox importing by ignoring extra fields
This commit is contained in:
parent
7075c61756
commit
509c0bf73f
1 changed files with 1 additions and 5 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue