diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index c92ef5e11ce5..b19cfdb41eab 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -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({