mirror of
https://github.com/bitwarden/server.git
synced 2025-01-15 20:41:35 +01:00
Map Grant_Save object explicitly (#3624)
This commit is contained in:
parent
bfa9269b42
commit
ea162d5318
@ -51,7 +51,19 @@ public class GrantRepository : BaseRepository, IGrantRepository
|
||||
{
|
||||
var results = await connection.ExecuteAsync(
|
||||
"[dbo].[Grant_Save]",
|
||||
obj,
|
||||
new
|
||||
{
|
||||
obj.Key,
|
||||
obj.Type,
|
||||
obj.SubjectId,
|
||||
obj.SessionId,
|
||||
obj.ClientId,
|
||||
obj.Description,
|
||||
obj.CreationDate,
|
||||
obj.ExpirationDate,
|
||||
obj.ConsumedDate,
|
||||
obj.Data
|
||||
},
|
||||
commandType: CommandType.StoredProcedure);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user