chore: unnessary args
diff --git a/erpnext/public/js/utils/barcode_scanner.js b/erpnext/public/js/utils/barcode_scanner.js
index 0356fdc..943db07 100644
--- a/erpnext/public/js/utils/barcode_scanner.js
+++ b/erpnext/public/js/utils/barcode_scanner.js
@@ -98,7 +98,7 @@
 				() => this.set_batch_no(row, batch_no),
 				() => this.set_barcode(row, barcode),
 				() => this.clean_up(),
-				() => this.revert_selector_flag(row, data),
+				() => this.revert_selector_flag(),
 				() => resolve(row)
 			]);
 		});