Skip to content

Commit

Permalink
Fix the import
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jan 20, 2023
1 parent a0bc604 commit f1ff02d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libs/actions/Policy.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import ROUTES from '../../ROUTES';
import * as OptionsListUtils from '../OptionsListUtils';
import DateUtils from '../DateUtils';
import * as ReportUtils from '../ReportUtils';
import {getMaxSequenceNumber} from './Report';
import * as Report from './Report';
import Log from '../Log';

const allPolicies = {};
Expand Down Expand Up @@ -97,7 +97,7 @@ function deleteWorkspace(policyID, reports, policyName) {

// Add closed actions to all chat reports linked to this policy
..._.map(reports, ({reportID, ownerEmail}) => {
const highestSequenceNumber = getMaxSequenceNumber(reportID);
const highestSequenceNumber = Report.getMaxSequenceNumber(reportID);
const optimisticClosedReportAction = ReportUtils.buildOptimisticClosedReportAction(
highestSequenceNumber + 1,
ownerEmail,
Expand Down

0 comments on commit f1ff02d

Please sign in to comment.