diff --git a/src/libs/actions/IOU.ts b/src/libs/actions/IOU.ts index da0ed2421867..766f35e4e58b 100644 --- a/src/libs/actions/IOU.ts +++ b/src/libs/actions/IOU.ts @@ -1184,7 +1184,14 @@ function getUpdateMoneyRequestParams( if (policy?.id && updatedTransaction) { const currentTransactionViolations = allTransactionViolations[`${ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS}${transactionID}`] ?? []; optimisticData.push( - ViolationsUtils.getViolationsOnyxData(updatedTransaction, currentTransactionViolations, !!policy.requiresTag, policyTags ?? {}, !!policy.requiresCategory, policyCategories ?? {}), + ViolationsUtils.getViolationsOnyxData( + updatedTransaction, + currentTransactionViolations, + !!policy.requiresTag, + policyTags ?? {}, + !!policy.requiresCategory, + policyCategories ?? {}, + ), ); failureData.push({ onyxMethod: Onyx.METHOD.MERGE,