Skip to content

Commit

Permalink
Fixed broken cMIS export when service description was missing (#6748)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrei Neagu <[email protected]>
  • Loading branch information
GitHK and Andrei Neagu authored Nov 19, 2024
1 parent 050b3e6 commit 8d03d2a
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,14 @@ async def create_sds_directory(
# assemble params here
dataset_description_params = parse_obj_as(
DatasetDescriptionParams,
{"name": project_data["name"], "description": project_data["description"]},
{
"name": project_data["name"],
"description": (
""
if project_data["description"] is None
else project_data["description"]
),
},
)

params_code_description: dict[str, Any] = {}
Expand Down

0 comments on commit 8d03d2a

Please sign in to comment.