mirror of
https://github.com/bitwarden/server
synced 2026-01-09 03:53:42 +00:00
SSO config revision date not updating fix (#934)
This commit is contained in:
@@ -57,5 +57,17 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
return results.ToList();
|
||||
}
|
||||
}
|
||||
|
||||
public override async Task CreateAsync(SsoConfig obj)
|
||||
{
|
||||
obj.CreationDate = obj.RevisionDate = DateTime.UtcNow;
|
||||
await base.CreateAsync(obj);
|
||||
}
|
||||
|
||||
public override async Task ReplaceAsync(SsoConfig obj)
|
||||
{
|
||||
obj.RevisionDate = DateTime.UtcNow;
|
||||
await base.ReplaceAsync(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user