Skip to content

Commit

Permalink
Merge pull request #89 from pliancy/fix/sub-types
Browse files Browse the repository at this point in the history
fix: fix subscription type
  • Loading branch information
santese authored Mar 7, 2023
2 parents 8e20b8a + a406a00 commit f6c5c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/microsoft-partnercenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export class MicrosoftPartnerCenter {
customerId: string,
subscriptionId: string,
usersQuantity: number,
): Promise<object> {
): Promise<Subscription> {
const subscription = await this.getCustomerSubscriptionById(customerId, subscriptionId)
subscription.quantity = usersQuantity
const { data } = await this.httpAgent.patch(
Expand Down
1 change: 1 addition & 0 deletions src/lib/types/subscriptions.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ export enum Status {
Active = 'active',
Deleted = 'deleted',
Disabled = 'disabled',
Suspended = 'suspended',
}

export enum SuspensionReason {
Expand Down

0 comments on commit f6c5c23

Please sign in to comment.