refactor: move JsonModelExt to PluralKit.Core (in individual model/patch files)
This commit is contained in:
@@ -140,7 +140,7 @@ namespace PluralKit.API
|
||||
SystemPatch patch;
|
||||
try
|
||||
{
|
||||
patch = JsonModelExt.ToSystemPatch(changes);
|
||||
patch = SystemPatch.FromJSON(changes);
|
||||
patch.CheckIsValid();
|
||||
}
|
||||
catch (JsonModelParseError e)
|
||||
|
||||
Reference in New Issue
Block a user