File tree Expand file tree Collapse file tree 2 files changed +2
-16
lines changed
src/opengeodeweb_back/routes/models Expand file tree Collapse file tree 2 files changed +2
-16
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,7 @@ def extract_model_uuids(model):
5050def extract_uuids_endpoint ():
5151 utils_functions .validate_request (flask .request , mesh_components_json )
5252
53- model = geode_functions .load_data (
54- flask .request .json ["geode_object" ],
55- flask .request .json ["id" ],
56- flask .request .json ["filename" ],
57- )
53+ model = geode_functions .load_data_by_id (flask .request .json ["id" ])
5854
5955 uuid_dict = extract_model_uuids (model )
6056 return flask .make_response ({"uuid_dict" : uuid_dict }, 200 )
Original file line number Diff line number Diff line change 88 "id" : {
99 "type" : " string" ,
1010 "minLength" : 1
11- },
12- "filename" : {
13- "type" : " string" ,
14- "minLength" : 1
15- },
16- "geode_object" : {
17- "type" : " string" ,
18- "minLength" : 1
1911 }
2012 },
2113 "required" : [
22- " id" ,
23- " filename" ,
24- " geode_object"
14+ " id"
2515 ],
2616 "additionalProperties" : false
2717}
You can’t perform that action at this time.
0 commit comments