Skip to content

Commit

Permalink
fix: renamed dl file to csv
Browse files Browse the repository at this point in the history
  • Loading branch information
tobybatch committed Apr 4, 2024
1 parent b803faf commit 8e9dea9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Store/VoucherController.php
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ public function downloadAndDecryptVoucherLogs(Request $request)
echo $message;
} while (!$eof); // While there is more to do, continue.
}, 200, [
'Content-Disposition' => 'attachment; filename="' . str_replace(".enc", "", $logFile) . '"'
'Content-Disposition' => 'attachment; filename="' . str_replace(".enc", ".csv", $logFile) . '"'
]);

}
Expand Down

0 comments on commit 8e9dea9

Please sign in to comment.