header('X-BOTAUTH') !== env('BOT_X_BOTAUTH')) { return response('Unauthorized', 401); } return $next($request); } }