fix(import): add AddAccount to tx

This commit is contained in:
spiral 2021-10-06 20:24:29 -04:00
parent 655d0d6c44
commit 2e89310129
No known key found for this signature in database
GPG key ID: A6059F0CA0E1BD31
4 changed files with 14 additions and 3 deletions

View file

@ -49,7 +49,7 @@ namespace PluralKit.Core
if (system == null)
{
system = await repo.CreateSystem(null, importer._conn);
await repo.AddAccount(system.Id, userId);
await repo.AddAccount(system.Id, userId, importer._conn);
importer._result.CreatedSystem = system.Hid;
importer._system = system;
}