1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-04 01:22:50 -05:00

refactor api models for other cipher types

This commit is contained in:
Kyle Spearrin
2017-09-21 10:52:23 -04:00
parent 12650a0ada
commit c58135bac5
8 changed files with 151 additions and 12 deletions

View File

@ -144,7 +144,7 @@ namespace Bit.Api.Controllers
var modelOrgId = string.IsNullOrWhiteSpace(model.OrganizationId) ? (Guid?)null : new Guid(model.OrganizationId);
if(cipher.OrganizationId != modelOrgId)
{
throw new BadRequestException("Organization mismatch. Re-sync if you recently shared this login, " +
throw new BadRequestException("Organization mismatch. Re-sync if you recently shared this item, " +
"then try again.");
}