mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-27 00:13:59 +00:00
update /export/all-customers-info-for-lark-system
This commit is contained in:
@@ -246,12 +246,12 @@ class ExportCustomersToExcelController
|
||||
public function exportAllCustomersInfoForLarkSystem(Request $request)
|
||||
{
|
||||
$password = $request->input('password');
|
||||
if ($password !== 'exchange_all_customers_data') {
|
||||
if ($password !== 'all_customers_data') {
|
||||
return response()->json(['error' => 'Invalid password'], 403);
|
||||
}
|
||||
|
||||
$exportsAllCustomersInfoForLarkSystem = new ExportsAllCustomersInfoForLarkSystem($request);
|
||||
$exportFileName = 'all_customers_info_for_lark_system.xls';
|
||||
$exportFileName = 'exchange_all_customers_info_for_lark_system.xls';
|
||||
|
||||
$filesystemDriver = Storage::getDefaultDriver();
|
||||
if ($filesystemDriver === 's3') {
|
||||
|
||||
Reference in New Issue
Block a user