hasHeader('X-Appengine-Cron')) { return response()->json(trans('auth.unauthorized'), 401); } return $next($request); } }