fix: batch meta image saving

This commit is contained in:
Jannat Patel
2023-12-20 11:37:54 +05:30
parent d5118cc91f
commit b0d0b41502
2 changed files with 2 additions and 2 deletions

View File

@@ -274,7 +274,7 @@ def create_batch(
"description": description, "description": description,
"batch_details": batch_details, "batch_details": batch_details,
"batch_details_raw": batch_details_raw, "batch_details_raw": batch_details_raw,
"image": meta_image, "meta_image": meta_image,
"seat_count": seat_count, "seat_count": seat_count,
"start_time": start_time, "start_time": start_time,
"end_time": end_time, "end_time": end_time,

View File

@@ -44,6 +44,7 @@ def get_context(context):
"published", "published",
"allow_future", "allow_future",
"evaluation_end_date", "evaluation_end_date",
"meta_image",
], ],
as_dict=True, as_dict=True,
) )
@@ -156,7 +157,6 @@ def get_class_course_details(batch_courses):
"image", "image",
"upcoming", "upcoming",
"short_introduction", "short_introduction",
"image",
"paid_course", "paid_course",
"course_price", "course_price",
"enable_certification", "enable_certification",