1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-27 22:34:54 -05:00

GetLicense API is for only not self hosted

This commit is contained in:
Kyle Spearrin 2017-08-14 22:17:21 -04:00
parent abf68c1cea
commit 829a9e2dd7

View File

@ -99,6 +99,7 @@ namespace Bit.Api.Controllers
}
[HttpGet("{id}/license")]
[SelfHosted(NotSelfHostedOnly = true)]
public async Task<OrganizationLicense> GetLicense(string id, [FromQuery]Guid installationId)
{
var orgIdGuid = new Guid(id);