mirror of
https://github.com/bitwarden/server
synced 2025-12-28 06:03:29 +00:00
user revision date updates
This commit is contained in:
@@ -75,7 +75,7 @@ namespace Bit.Core.Repositories.SqlServer
|
||||
|
||||
public virtual async Task UpsertAsync(T obj)
|
||||
{
|
||||
if(string.IsNullOrWhiteSpace(obj.Id))
|
||||
if(string.IsNullOrWhiteSpace(obj.Id) || obj.Id == "0" || obj.Id == Guid.Empty.ToString())
|
||||
{
|
||||
await CreateAsync(obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user