fix(bot): format ids correctly in a few places

This commit is contained in:
alyssa 2024-05-11 21:32:16 +09:00
parent f6fceffc3f
commit c3a30a59cd
7 changed files with 13 additions and 13 deletions

View file

@ -240,7 +240,7 @@ public class Admin
var existingAccount = await ctx.Repository.GetSystemByAccount(account.Id);
if (existingAccount != null)
throw Errors.AccountInOtherSystem(existingAccount);
throw Errors.AccountInOtherSystem(existingAccount, ctx.Config);
var system = await ctx.Repository.GetSystem(systemId.Value!);