mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
refactor: move JsonModelExt to PluralKit.Core (in individual model/patch files)
This commit is contained in:
parent
26c18d2f48
commit
11bd66e8d8
9 changed files with 193 additions and 186 deletions
|
|
@ -140,7 +140,7 @@ namespace PluralKit.API
|
|||
SystemPatch patch;
|
||||
try
|
||||
{
|
||||
patch = JsonModelExt.ToSystemPatch(changes);
|
||||
patch = SystemPatch.FromJSON(changes);
|
||||
patch.CheckIsValid();
|
||||
}
|
||||
catch (JsonModelParseError e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue