mirror of
https://github.com/bitwarden/browser
synced 2026-02-06 19:53:59 +00:00
PM-20578 changed name of encrypt function
This commit is contained in:
@@ -20,7 +20,7 @@ export class RiskInsightsEncryptionService {
|
||||
private keyGeneratorService: KeyGenerationService,
|
||||
) {}
|
||||
|
||||
async generateEncryptedRiskInsightsReport(
|
||||
async encryptRiskInsightsReport(
|
||||
organizationId: OrganizationId,
|
||||
details: ApplicationHealthReportDetail[],
|
||||
summary: ApplicationHealthReportSummary,
|
||||
|
||||
@@ -232,7 +232,7 @@ export class AllApplicationsComponent implements OnInit {
|
||||
debounceTime(500),
|
||||
switchMap(async (report) => {
|
||||
if (report && report.organization?.id && report.data && report.summary) {
|
||||
const data = await this.reportDecipherService.generateEncryptedRiskInsightsReport(
|
||||
const data = await this.reportDecipherService.encryptRiskInsightsReport(
|
||||
report.organization.id as OrganizationId,
|
||||
report.data,
|
||||
report.summary,
|
||||
|
||||
Reference in New Issue
Block a user