Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jan 16, 2023
1 parent a84aab4 commit 742e4e7
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -951,7 +951,7 @@ function buildOptimisticCreatedReportAction(ownerEmail) {
}

/**
* Returns the necessary reportAction onyx data to indicate that a chat has been
* Returns the necessary reportAction onyx data to indicate that a chat has been archived
* @param {Number} sequenceNumber
* @param {String} ownerEmail
* @param {String} policyName
Expand Down Expand Up @@ -996,31 +996,6 @@ function buildOptimisticClosedReportAction(sequenceNumber, ownerEmail, policyNam
};
}

// actionName: "CLOSED"
// actorAccountID: 32
// actorEmail: "test3@test.com"
// automatic: false
// avatar: "https://d2g02b6ed2w9fz.cloudfront.net/dea8ae7de1308911b35e0b1189ca85d379dbdb83_128.jpeg"
// clientID: ""
// created: "2023-01-16 19:18:52.966"
// message: Array(2)
// 0:
// {type: 'TEXT', style: 'strong', text: 'You'}
// 1:
// {type: 'TEXT', style: 'normal', text: ' closed this report'}

// originalMessage:
// policyName: "Test's Workspace"
// reason: "policyDeleted"
// person: Array(1)
// 0: {type: 'TEXT', style: 'strong', text: 'Test User'}
// length: 1
// reportActionID: "8939705822345818810"
// reportActionTimestamp: 1673896732966
// sequenceNumber: 1
// shouldShow: true
// timestamp: 1673896732

/**
* @param {String} policyID
* @param {String} policyName
Expand Down

0 comments on commit 742e4e7

Please sign in to comment.