Skip to content

Commit

Permalink
Rename myLicensePrivileges to availableEntitlements
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinyanakiev committed Nov 25, 2024
1 parent 9a587c7 commit 2bbe672
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/domain/common/license/license.resolver.fields.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ export class LicenseResolverFields {
return await this.licenseService.getEntitlements(license);
}

@ResolveField('myLicensePrivileges', () => [LicenseEntitlementType], {
@ResolveField('availableEntitlements', () => [LicenseEntitlementType], {
nullable: true,
description: 'The set of License Entitlements on that entity.',
description: 'The set of License Entitlement Types on that entity.',
})
async myLicensePrivileges(
async availableEntitlements(
@Parent() license: ILicense
): Promise<LicenseEntitlementType[]> {
return await this.licenseService.getMyLicensePrivilegesOrFail(license);
Expand Down

0 comments on commit 2bbe672

Please sign in to comment.