1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-25 12:45:18 +01:00

can only update org info when not self hosted

This commit is contained in:
Kyle Spearrin 2017-08-16 14:06:23 -04:00
parent 80069f3bdd
commit 92ab3db4c4

View File

@ -159,6 +159,7 @@ namespace Bit.Api.Controllers
[HttpPut("{id}")]
[HttpPost("{id}")]
[SelfHosted(NotSelfHostedOnly = true)]
public async Task<OrganizationResponseModel> Put(string id, [FromBody]OrganizationUpdateRequestModel model)
{
var orgIdGuid = new Guid(id);