mirror of
https://github.com/bitwarden/server.git
synced 2025-05-28 23:04:50 -05:00
GetLicense API is for only not self hosted
This commit is contained in:
parent
abf68c1cea
commit
829a9e2dd7
@ -99,6 +99,7 @@ namespace Bit.Api.Controllers
|
|||||||
}
|
}
|
||||||
|
|
||||||
[HttpGet("{id}/license")]
|
[HttpGet("{id}/license")]
|
||||||
|
[SelfHosted(NotSelfHostedOnly = true)]
|
||||||
public async Task<OrganizationLicense> GetLicense(string id, [FromQuery]Guid installationId)
|
public async Task<OrganizationLicense> GetLicense(string id, [FromQuery]Guid installationId)
|
||||||
{
|
{
|
||||||
var orgIdGuid = new Guid(id);
|
var orgIdGuid = new Guid(id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user