1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

add NotSelfHostOnly attribute

This commit is contained in:
AJ 2024-11-21 12:28:03 -05:00
parent 744d44ccef
commit 47c89d838f

View File

@ -37,6 +37,7 @@ public class OrganizationController : Controller
} }
[HttpGet("subscription")] [HttpGet("subscription")]
[SelfHosted(NotSelfHostedOnly = true)]
[ProducesResponseType(typeof(OrganizationSubscriptionDetailsResponseModel), (int)HttpStatusCode.OK)] [ProducesResponseType(typeof(OrganizationSubscriptionDetailsResponseModel), (int)HttpStatusCode.OK)]
[ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.NotFound)] [ProducesResponseType(typeof(ErrorResponseModel), (int)HttpStatusCode.NotFound)]
public async Task<IActionResult> GetSubscriptionAsync() public async Task<IActionResult> GetSubscriptionAsync()