mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-28 17:03:59 +00:00
New voucher CIEFPC30 setup with new business logic - Initial Commit
This commit is contained in:
@@ -23,11 +23,12 @@ class LogRequestPathMiddleware
|
||||
$fullUrl = $request->fullUrl();
|
||||
LogHelper::channel('request_path')->info('Request Method: ' . $method);
|
||||
LogHelper::channel('request_path')->info('Request URL: ' . $fullUrl);
|
||||
}
|
||||
|
||||
if ($request->isMethod('post')) {
|
||||
$payload = $request->all();
|
||||
LogHelper::channel('request_path')->info('Request Payload POST: ', $payload);
|
||||
|
||||
if ($request->isMethod('post')) {
|
||||
$payload = $request->all();
|
||||
LogHelper::channel('request_path')->info('Request Payload POST: ', $payload);
|
||||
}
|
||||
}
|
||||
|
||||
return $next($request);
|
||||
|
||||
Reference in New Issue
Block a user