diff --git a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php index 8452dd6b..9299e1a8 100644 --- a/app/Http/Controllers/Exports/ExportCustomersToExcelController.php +++ b/app/Http/Controllers/Exports/ExportCustomersToExcelController.php @@ -246,7 +246,7 @@ class ExportCustomersToExcelController public function exportAllCustomersInfoForLarkSystem(Request $request) { $password = $request->input('password'); - if ($password !== 'all_customers_data') { + if ($password !== 'exchange_all_customers_data') { return response()->json(['error' => 'Invalid password'], 403); }