From 829a9e2dd70761e8d51b790386d31a844137d229 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 14 Aug 2017 22:17:21 -0400 Subject: [PATCH] GetLicense API is for only not self hosted --- src/Api/Controllers/OrganizationsController.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Api/Controllers/OrganizationsController.cs b/src/Api/Controllers/OrganizationsController.cs index f6105c18fa..72e9e9dad1 100644 --- a/src/Api/Controllers/OrganizationsController.cs +++ b/src/Api/Controllers/OrganizationsController.cs @@ -99,6 +99,7 @@ namespace Bit.Api.Controllers } [HttpGet("{id}/license")] + [SelfHosted(NotSelfHostedOnly = true)] public async Task GetLicense(string id, [FromQuery]Guid installationId) { var orgIdGuid = new Guid(id);