mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
chore: remove API v1
This commit is contained in:
parent
1e86c2d6c4
commit
7aaad288e6
29 changed files with 136 additions and 808 deletions
|
|
@ -14,7 +14,7 @@ public partial class BulkImporter
|
|||
{
|
||||
private async Task<ImportResultNew> ImportPluralKit(JObject importFile)
|
||||
{
|
||||
var patch = SystemPatch.FromJSON(importFile);
|
||||
var patch = SystemPatch.FromJSON(importFile, isImport: true);
|
||||
|
||||
patch.AssertIsValid();
|
||||
if (patch.Errors.Count > 0)
|
||||
|
|
@ -100,7 +100,7 @@ public partial class BulkImporter
|
|||
referenceName, _system.Id, isNewMember
|
||||
);
|
||||
|
||||
var patch = MemberPatch.FromJSON(member);
|
||||
var patch = MemberPatch.FromJSON(member, isImport: true);
|
||||
|
||||
patch.AssertIsValid();
|
||||
if (patch.Errors.Count > 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue