Fixes for query logging

This commit is contained in:
David Bomba 2022-08-01 07:46:45 +10:00
parent 7ac4786bff
commit 4634662136

View File

@ -35,9 +35,9 @@ class QueryLogging
{ {
// Enable query logging for development // Enable query logging for development
// if (! Ninja::isHosted() || ! config('beacon.enabled')) { if (! Ninja::isHosted() || ! config('beacon.enabled')) {
// return $next($request); return $next($request);
// } }
$timeStart = microtime(true); $timeStart = microtime(true);
DB::enableQueryLog(); DB::enableQueryLog();