mirror of
https://github.com/bitwarden/server
synced 2025-12-25 04:33:26 +00:00
react to contact changes not being set from identity
This commit is contained in:
@@ -19,11 +19,11 @@ namespace Bit.Api.Models
|
||||
[StringLength(255)]
|
||||
public string PushToken { get; set; }
|
||||
|
||||
public Device ToDevice(string userId = null)
|
||||
public Device ToDevice(Guid? userId = null)
|
||||
{
|
||||
return ToDevice(new Device
|
||||
{
|
||||
UserId = userId == null ? default(Guid) : new Guid(userId)
|
||||
UserId = userId == null ? default(Guid) : userId.Value
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user