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:
parent
8e1ed6a364
commit
8c9067f6b3
@ -67,7 +67,7 @@ namespace Bit.Api.Controllers
|
|||||||
model.PlanSponsorshipType, model.SponsoredEmail, model.FriendlyName);
|
model.PlanSponsorshipType, model.SponsoredEmail, model.FriendlyName);
|
||||||
}
|
}
|
||||||
|
|
||||||
[HttpPost("sponsored/redeem/families-for-enterprise")]
|
[HttpPost("sponsored/redeem")]
|
||||||
[SelfHosted(NotSelfHostedOnly = true)]
|
[SelfHosted(NotSelfHostedOnly = true)]
|
||||||
public async Task RedeemSponsorship([FromQuery] string sponsorshipToken, [FromBody] OrganizationSponsorshipRedeemRequestModel model)
|
public async Task RedeemSponsorship([FromQuery] string sponsorshipToken, [FromBody] OrganizationSponsorshipRedeemRequestModel model)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user