From 9783c47d1f335a3fd28ae77f6022b5b302199a5d Mon Sep 17 00:00:00 2001 From: Daniel Edwards Date: Mon, 11 Dec 2023 10:53:55 -0500 Subject: [PATCH] Update src/libs/actions/IOU.js Co-authored-by: Luthfi --- src/libs/actions/IOU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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({