Skip to content

Commit

Permalink
Update src/libs/actions/IOU.js
Browse files Browse the repository at this point in the history
Co-authored-by: Luthfi <[email protected]>
  • Loading branch information
cdanwards and mollfpr authored Dec 11, 2023
1 parent dbf3e5a commit 9783c47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ function buildOnyxDataForMoneyRequest(
return [optimisticData, successData, failureData];
}

const violationsOnyxData = ViolationsUtils.getViolationsOnyxData(transaction, [], policy.requiresTags, policyTags, policy.requiresCategory, policyCategories);
const violationsOnyxData = ViolationsUtils.getViolationsOnyxData(transaction, [], policy.requiresTag, policyTags, policy.requiresCategory, policyCategories);

if (violationsOnyxData) {
optimisticData.push({
Expand Down

0 comments on commit 9783c47

Please sign in to comment.