1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[AC-1418] Revert change to update PM subscription request model

This commit is contained in:
Shane Melton
2023-06-27 16:33:31 -07:00
parent b73387cac9
commit 9c85576973
2 changed files with 4 additions and 53 deletions

View File

@@ -39,10 +39,7 @@ export class AdjustSubscription {
async submit() {
try {
const seatAdjustment = this.newSeatCount - this.currentSeatCount;
const request = OrganizationSubscriptionUpdateRequest.forPasswordManager(
seatAdjustment,
this.newMaxSeats
);
const request = new OrganizationSubscriptionUpdateRequest(seatAdjustment, this.newMaxSeats);
this.formPromise = this.organizationApiService.updatePasswordManagerSeats(
this.organizationId,
request