Skip to content

Commit 84232a5

Browse files
committed
refacto
1 parent 02b3e30 commit 84232a5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/opengeodeweb_back/routes/models/blueprint_models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,9 @@ def model_components() -> flask.Response:
5959
for collection_component, ids in model_collection_components.items():
6060
component_type = collection_component.get()
6161
for id in ids:
62-
geode_id = id.string()
6362
collection_component_object = {
6463
"id": params.id,
65-
"name": geode_id,
64+
"name": component_name,
6665
}
6766
collection_components.append(collection_component_object)
6867

0 commit comments

Comments
 (0)