Skip to content

Commit 8d56dc0

Browse files
fix: bug found by the new tests
1 parent cb55da2 commit 8d56dc0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/openedx_catalog/api_impl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def create_course_run_for_modulestore_course_with(
187187
course_code=course_code,
188188
defaults={
189189
"display_name": display_name,
190-
"language_short": language_short,
190+
**({"language_short": language_short} if language_short else {}),
191191
},
192192
)
193193

0 commit comments

Comments
 (0)