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:
@ -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.");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user