Added default card group for new players
This commit is contained in:
@@ -48,7 +48,14 @@ namespace TOOHUCardAPI.Data.Repositories
|
||||
Vip = true,
|
||||
EndTime = DateTime.MaxValue,
|
||||
PetLevel = 1,
|
||||
EncodedCardGroups = new List<EncodedCardGroup>()
|
||||
EncodedCardGroups = new List<EncodedCardGroup>
|
||||
{
|
||||
new()
|
||||
{
|
||||
EncodedString = AppSettings.StarterDeckGroupData,
|
||||
GroupKey = AppSettings.StarterDeckGroupKey
|
||||
}
|
||||
}
|
||||
};
|
||||
await _appDbContext.Users.AddAsync(user);
|
||||
await _appDbContext.SaveChangesAsync();
|
||||
|
||||
Reference in New Issue
Block a user