Skip to content

Commit ac33e5c

Browse files
committed
fix: add missing wasMerchantCleared to Transaction validation and switch cases
1 parent c642653 commit ac33e5c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/libs/DebugUtils.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ function validateTransactionDraftProperty(key: keyof Transaction, value: string)
956956
case 'hasEReceipt':
957957
case 'shouldShowOriginalAmount':
958958
case 'managedCard':
959+
case 'wasMerchantCleared':
959960
return validateBoolean(value);
960961
case 'amount':
961962
case 'taxAmount':
@@ -1078,6 +1079,7 @@ function validateTransactionDraftProperty(key: keyof Transaction, value: string)
10781079
inserted: CONST.RED_BRICK_ROAD_PENDING_ACTION,
10791080
accountant: CONST.RED_BRICK_ROAD_PENDING_ACTION,
10801081
splitExpenses: CONST.RED_BRICK_ROAD_PENDING_ACTION,
1082+
wasMerchantCleared: CONST.RED_BRICK_ROAD_PENDING_ACTION,
10811083
},
10821084
'string',
10831085
);

0 commit comments

Comments
 (0)