1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 08:02:49 -05:00

Updates for devices

This commit is contained in:
Kyle Spearrin
2016-06-21 22:17:31 -04:00
parent a07a682831
commit 0e6fd21805
4 changed files with 7 additions and 1 deletions

View File

@ -23,7 +23,7 @@ namespace Bit.Api.Models
{
return ToDevice(new Device
{
UserId = new Guid(userId)
UserId = userId == null ? default(Guid) : new Guid(userId)
});
}