1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00

Created sso config service with save (#936)

This commit is contained in:
Kyle Spearrin
2020-09-15 10:17:44 -04:00
committed by GitHub
parent 692b3970af
commit 1c6c599b8d
6 changed files with 47 additions and 18 deletions

View File

@ -57,17 +57,5 @@ 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);
}
}
}