Skip to content

Commit

Permalink
Update JSDoc of the build closed report action method
Browse files Browse the repository at this point in the history
  • Loading branch information
mountiny committed Jan 20, 2023
1 parent 3574093 commit 93199c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/libs/ReportUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -952,10 +952,11 @@ function buildOptimisticCreatedReportAction(ownerEmail) {

/**
* Returns the necessary reportAction onyx data to indicate that a chat has been archived
*
* @param {Number} sequenceNumber
* @param {String} ownerEmail
* @param {String} policyName
* @param {String} reason - Reason why the chat has been archived
* @param {String} reason - A reason why the chat has been archived
* @returns {Object}
*/
function buildOptimisticClosedReportAction(sequenceNumber, ownerEmail, policyName, reason = CONST.REPORT.ARCHIVE_REASON.DEFAULT) {
Expand Down

0 comments on commit 93199c4

Please sign in to comment.