diff --git a/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts b/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts index f22be89ac9b..59d65d8615a 100644 --- a/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts +++ b/bitwarden_license/bit-common/src/dirt/reports/risk-insights/services/domain/risk-insights-orchestrator.service.ts @@ -240,7 +240,10 @@ export class RiskInsightsOrchestratorService { .pipe( map(() => updatedState), tap((finalState) => { - this._markUnmarkUpdatesSubject.next(finalState); + this._markUnmarkUpdatesSubject.next({ + ...finalState, + organizationId: reportState.organizationId, + }); }), catchError((error: unknown) => { this.logService.error("Failed to save updated applicationData", error); @@ -324,7 +327,10 @@ export class RiskInsightsOrchestratorService { .pipe( map(() => updatedState), tap((finalState) => { - this._markUnmarkUpdatesSubject.next(finalState); + this._markUnmarkUpdatesSubject.next({ + ...finalState, + organizationId: reportState.organizationId, + }); }), catchError((error: unknown) => { this.logService.error("Failed to save updated applicationData", error);