1
0
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:
Kyle Spearrin 2017-06-09 12:35:09 -04:00
parent f24bc96846
commit e0bbd93990

View File

@ -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
});
}