Merge pull request #707 from pateljannat/batch-meta-image
fix: batch meta image saving
This commit is contained in:
@@ -274,7 +274,7 @@ def create_batch(
|
||||
"description": description,
|
||||
"batch_details": batch_details,
|
||||
"batch_details_raw": batch_details_raw,
|
||||
"image": meta_image,
|
||||
"meta_image": meta_image,
|
||||
"seat_count": seat_count,
|
||||
"start_time": start_time,
|
||||
"end_time": end_time,
|
||||
|
||||
@@ -44,6 +44,7 @@ def get_context(context):
|
||||
"published",
|
||||
"allow_future",
|
||||
"evaluation_end_date",
|
||||
"meta_image",
|
||||
],
|
||||
as_dict=True,
|
||||
)
|
||||
@@ -156,7 +157,6 @@ def get_class_course_details(batch_courses):
|
||||
"image",
|
||||
"upcoming",
|
||||
"short_introduction",
|
||||
"image",
|
||||
"paid_course",
|
||||
"course_price",
|
||||
"enable_certification",
|
||||
|
||||
Reference in New Issue
Block a user