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:
parent
80069f3bdd
commit
92ab3db4c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user