mirror of
https://github.com/bitwarden/server.git
synced 2025-07-07 02:52:50 -05:00
EF repo fixes
This commit is contained in:
@ -38,6 +38,7 @@ namespace Bit.Core.Repositories.EntityFramework
|
||||
var entity = Mapper.Map<TEntity>(obj);
|
||||
dbContext.Add(entity);
|
||||
await dbContext.SaveChangesAsync();
|
||||
obj.Id = entity.Id;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user