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

Universal sponsorship redeem api

This commit is contained in:
Matt Gibson 2021-11-09 19:42:31 -05:00 committed by Justin Baur
parent 8e1ed6a364
commit 8c9067f6b3

View File

@ -67,7 +67,7 @@ namespace Bit.Api.Controllers
model.PlanSponsorshipType, model.SponsoredEmail, model.FriendlyName);
}
[HttpPost("sponsored/redeem/families-for-enterprise")]
[HttpPost("sponsored/redeem")]
[SelfHosted(NotSelfHostedOnly = true)]
public async Task RedeemSponsorship([FromQuery] string sponsorshipToken, [FromBody] OrganizationSponsorshipRedeemRequestModel model)
{