Skip to content

Commit f17ee42

Browse files
committed
fix: incorrect type
1 parent 61eb7d4 commit f17ee42

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libs/Violations/ViolationsUtils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const ViolationsUtils = {
245245
return {
246246
onyxMethod: Onyx.METHOD.SET,
247247
key: `${ONYXKEYS.COLLECTION.TRANSACTION_VIOLATIONS}${updatedTransaction.transactionID}`,
248-
value: {name: CONST.VIOLATIONS.SMARTSCAN_FAILED, type: CONST.VIOLATION_TYPES.WARNING, showInReview: true},
248+
value: [{name: CONST.VIOLATIONS.SMARTSCAN_FAILED, type: CONST.VIOLATION_TYPES.WARNING, showInReview: true}],
249249
};
250250
}
251251
if (!shouldShowSmartScanFailedError && hasSmartScanFailedError) {

0 commit comments

Comments
 (0)