mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 21:18:13 -05:00
edit bug on create
This commit is contained in:
parent
f24bc96846
commit
e0bbd93990
@ -36,7 +36,8 @@ namespace Bit.Core.Models.Api
|
||||
return ToCipherDetails(new CipherDetails
|
||||
{
|
||||
UserId = string.IsNullOrWhiteSpace(OrganizationId) ? (Guid?)userId : null,
|
||||
OrganizationId = string.IsNullOrWhiteSpace(OrganizationId) ? (Guid?)null : new Guid(OrganizationId)
|
||||
OrganizationId = string.IsNullOrWhiteSpace(OrganizationId) ? (Guid?)null : new Guid(OrganizationId),
|
||||
Edit = true
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user