Skip to content

Commit

Permalink
Fix after testing
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer committed Oct 3, 2023
1 parent d4a5ec9 commit bddcb3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/src/backend/primary/routers/surface/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ async def get_surface_directory(
surface_access = await SurfaceAccess.from_case_uuid(
authenticated_user.get_sumo_access_token(), case_uuid, ensemble_name
)
sumo_surf_dir = await surface_access.get_surface_directory()
sumo_surf_dir = surface_access.get_surface_directory()

case_inspector = await SumoCase.from_case_uuid(authenticated_user.get_sumo_access_token(), case_uuid)
strat_column_identifier = await case_inspector.get_stratigraphic_column_identifier()
Expand Down
2 changes: 1 addition & 1 deletion backend/src/backend/primary/routers/well/router.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ async def get_well_headers(
"""Get well headers for all wells in the field"""

case_inspector = await SumoCase.from_case_uuid(authenticated_user.get_sumo_access_token(), case_uuid)
field_identifier = await case_inspector.get_field_identifiers()[0]
field_identifier = (await case_inspector.get_field_identifiers())[0]
well_access: Union[WellAccess, mocked_drogon_smda_access.WellAccess]
if field_identifier == "DROGON":
# Handle DROGON
Expand Down

0 comments on commit bddcb3d

Please sign in to comment.