Skip to content

Commit

Permalink
Address PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinyanakiev committed Nov 12, 2024
1 parent 516ca9e commit a3ffeae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ export class LicenseEntitlementService {
return entitlement;
}

public async save(
entitlement: ILicenseEntitlement
): Promise<ILicenseEntitlement> {
return await this.entitlementRepository.save(entitlement);
}

async getEntitlementOrFail(
entitlementID: string,
options?: FindOneOptions<LicenseEntitlement>
Expand Down Expand Up @@ -75,7 +69,7 @@ export class LicenseEntitlementService {
};
}

async saveEntitlement(
public async saveEntitlement(
entitlement: ILicenseEntitlement
): Promise<ILicenseEntitlement> {
return await this.entitlementRepository.save(entitlement);
Expand Down
2 changes: 1 addition & 1 deletion src/domain/common/license/license.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export class LicenseService {
async saveAll(licenses: ILicense[]): Promise<void> {
this.logger.verbose?.(
`Saving ${licenses.length} licenses`,
LogContext.AUTH
LogContext.LICENSE
);
await this.licenseRepository.save(licenses, {
chunk: 100,
Expand Down

0 comments on commit a3ffeae

Please sign in to comment.