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

dont set userid on cipher if orgid is set

This commit is contained in:
Kyle Spearrin
2018-10-22 10:06:05 -04:00
parent 39cc487667
commit 4e8a313d3d
2 changed files with 60 additions and 1 deletions

View File

@ -29,7 +29,7 @@ BEGIN
VALUES
(
@Id,
@UserId,
CASE WHEN @OrganizationId IS NULL THEN @UserId ELSE NULL END,
@OrganizationId,
@Type,
@Data,