From 48361e1fc8afccc760e239a23fa679bb7363baad Mon Sep 17 00:00:00 2001 From: Denis Rykov Date: Sun, 24 Jul 2022 10:45:59 +0200 Subject: [PATCH] Remove duplicated code --- stac_fastapi/types/stac_fastapi/types/core.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/stac_fastapi/types/stac_fastapi/types/core.py b/stac_fastapi/types/stac_fastapi/types/core.py index 7cc450a50..416bf1c50 100644 --- a/stac_fastapi/types/stac_fastapi/types/core.py +++ b/stac_fastapi/types/stac_fastapi/types/core.py @@ -353,8 +353,6 @@ def landing_page(self, **kwargs) -> stac_types.LandingPage: extension_schemas = [ schema.schema_href for schema in self.extensions if schema.schema_href ] - request: Request = kwargs["request"] - base_url = str(request.base_url) landing_page = self._landing_page( base_url=base_url, conformance_classes=self.conformance_classes(),