Skip to content

Commit 8411efa

Browse files
committed
filepath needed
1 parent 4a8d21c commit 8411efa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/opengeodeweb_back/routes/blueprint_routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,11 @@ def geode_objects_and_output_extensions():
247247
)
248248
def save_viewable_file():
249249
utils_functions.validate_request(flask.request, save_viewable_file_json)
250+
file_path = geode_functions.upload_file_path(flask.request.json["filename"])
250251
return flask.make_response(
251252
utils_functions.generate_native_viewable_and_light_viewable_from_file(
252253
flask.request.json["input_geode_object"],
253-
input_filename=flask.request.json["filename"],
254+
input_filename=file_path,
254255
),
255256
200,
256257
)

0 commit comments

Comments
 (0)