mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
update prompt utility functions for issue #65
tweaks to alias stuff fix bug with bots not showing
This commit is contained in:
@ -131,7 +131,9 @@ namespace SharedLibraryCore.Services
|
||||
LinkId = aliasLink.AliasLinkId,
|
||||
Name = name
|
||||
};
|
||||
context.Aliases.Add(entity.CurrentAlias);
|
||||
entity.AliasLink.Children.Add(entity.CurrentAlias);
|
||||
|
||||
await context.SaveChangesAsync();
|
||||
}
|
||||
|
||||
@ -149,6 +151,7 @@ namespace SharedLibraryCore.Services
|
||||
};
|
||||
|
||||
entity.AliasLink.Active = true;
|
||||
context.Aliases.Add(entity.CurrentAlias);
|
||||
entity.AliasLink.Children.Add(entity.CurrentAlias);
|
||||
|
||||
await context.SaveChangesAsync();
|
||||
|
Reference in New Issue
Block a user