From ac032cbeb054cfdee9a6212f6619d6d15f5d90c1 Mon Sep 17 00:00:00 2001 From: Sigurd Pettersen Date: Mon, 2 Oct 2023 14:03:14 +0200 Subject: [PATCH] Fixed typo --- backend/src/backend/primary/routers/surface/router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/backend/primary/routers/surface/router.py b/backend/src/backend/primary/routers/surface/router.py index 9e3f312f2..90bc59497 100644 --- a/backend/src/backend/primary/routers/surface/router.py +++ b/backend/src/backend/primary/routers/surface/router.py @@ -60,7 +60,7 @@ def get_realization_surface_data( attribute: str = Query(description="Surface attribute"), time_or_interval: Optional[str] = Query(None, description="Time point or time interval string"), ) -> schemas.SurfaceData: - perf_metrics = PerfMetrics("response") + perf_metrics = PerfMetrics(response) access = SurfaceAccess(authenticated_user.get_sumo_access_token(), case_uuid, ensemble_name) xtgeo_surf = access.get_realization_surface_data(