Skip to content

Commit

Permalink
Remove unused CHECK action (#921)
Browse files Browse the repository at this point in the history
  • Loading branch information
danjov authored Dec 19, 2023
2 parents 9c69546 + 1ecd9a4 commit a1b9cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions src/api-legacy/v1/borehole/profile/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ async def execute(self, request):

if action in [
'ADDBEDROCK',
'CHECK',
'PATCH'
]:

Expand All @@ -22,7 +21,6 @@ async def execute(self, request):

if action in [
'ADDBEDROCK',
'CHECK',
'PATCH',
]:
# Get Borehole id
Expand Down
6 changes: 2 additions & 4 deletions src/api-legacy/v1/borehole/stratigraphy/producer.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ async def execute(self, request):
action = request.pop('action', None)

if action in [
'ADDBEDROCK',
'CREATE'
'ADDBEDROCK'
]:

async with self.pool.acquire() as conn:
Expand All @@ -19,8 +18,7 @@ async def execute(self, request):
id_bho = None

if action in [
'ADDBEDROCK',
'CHECK'
'ADDBEDROCK'
]:
# Get Borehole id
id_bho = await conn.fetchval("""
Expand Down

0 comments on commit a1b9cd4

Please sign in to comment.