Move query logging into terminate method

This commit is contained in:
David Bomba 2023-05-29 08:08:44 +10:00
parent d1a1ee55dc
commit 6e44503724

View File

@ -47,7 +47,7 @@ class QueryLogging
public function terminate($request, $response)
{
if (! Ninja::isHosted() || ! config('beacon.enabled')) {
if (! Ninja::isHosted() || ! config('beacon.enabled'))
return;
// hide requests made by debugbar