mirror of
https://github.com/bitwarden/server.git
synced 2025-05-23 04:21:05 -05: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}")]
|
[HttpPut("{id}")]
|
||||||
[HttpPost("{id}")]
|
[HttpPost("{id}")]
|
||||||
|
[SelfHosted(NotSelfHostedOnly = true)]
|
||||||
public async Task<OrganizationResponseModel> Put(string id, [FromBody]OrganizationUpdateRequestModel model)
|
public async Task<OrganizationResponseModel> Put(string id, [FromBody]OrganizationUpdateRequestModel model)
|
||||||
{
|
{
|
||||||
var orgIdGuid = new Guid(id);
|
var orgIdGuid = new Guid(id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user