Skip to content

Commit

Permalink
update surface aggregation url (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
equinor-ruaj authored Oct 4, 2023
1 parent 138955f commit fbe6fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/fmu/sumo/explorer/objects/surface_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def _aggregate(self, operation: str) -> xtgeo.RegularSurface:
object_ids = list(map(lambda obj: obj["_id"], objects))

res = self._sumo.post(
"/aggregate",
"/surface/aggregate",
json={"operation": [operation], "object_ids": object_ids},
)

Expand All @@ -151,7 +151,7 @@ async def _aggregate_async(self, operation: str) -> xtgeo.RegularSurface:
object_ids = list(map(lambda obj: obj["_id"], objects))

res = await self._sumo.post_async(
"/aggregate",
"/surface/aggregate",
json={"operation": [operation], "object_ids": object_ids},
)

Expand Down

0 comments on commit fbe6fd4

Please sign in to comment.