1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 06:13:43 +00:00

upgrade org api

This commit is contained in:
Kyle Spearrin
2019-03-21 21:36:03 -04:00
parent 81788b3eb0
commit 5bfed59f9c
8 changed files with 252 additions and 133 deletions

View File

@@ -223,7 +223,7 @@ namespace Bit.Api.Controllers
throw new NotFoundException();
}
await _organizationService.UpgradePlanAsync(orgIdGuid, model.PlanType, model.AdditionalSeats);
await _organizationService.UpgradePlanAsync(orgIdGuid, model.ToOrganizationUpgrade());
}
[HttpPost("{id}/seat")]