Skip to content

Commit

Permalink
Undo some renaming in python api
Browse files Browse the repository at this point in the history
  • Loading branch information
MiraGeowerkstatt committed Feb 14, 2024
1 parent af1e0c3 commit 21ca165
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/api-legacy/v1/borehole/editinglist.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def execute(
)
END AS lock,
original_name_bho as original_name,
kind_id_cli as borehole_type,
kind_id_cli as kind,
restriction_id_cli as restriction,
to_char(
restriction_until_bho,
Expand Down Expand Up @@ -185,7 +185,7 @@ async def execute(
array_agg(
json_build_object(
'id', id,
'borehole_type', borehole_type,
'kind', kind,
'layers', layers,
'date', date
)
Expand Down
2 changes: 1 addition & 1 deletion src/api-legacy/v1/borehole/get.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def get_sql(sql_lock='', file_permission=''):
array_agg(
json_build_object(
'id', id,
'borehole_type', borehole_type,
'kind', kind,
'name', "name",
'primary', "primary",
'layers', layers,
Expand Down

0 comments on commit 21ca165

Please sign in to comment.