Fix importing with no existing system

This commit is contained in:
Ske
2019-07-11 22:46:18 +02:00
parent c6905f4ca1
commit a41e20a0a3
3 changed files with 11 additions and 3 deletions

View File

@@ -85,7 +85,7 @@ namespace PluralKit.Bot.Commands
// If passed system is null, it'll create a new one
// (and that's okay!)
var result = await DataFiles.ImportSystem(data, Context.SenderSystem);
var result = await DataFiles.ImportSystem(data, Context.SenderSystem, Context.User.Id);
if (Context.SenderSystem == null)
{