mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 23:52:50 -05: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