Updates for the event images

This commit is contained in:
Vivek P Prakash
2025-12-01 05:38:08 +05:30
parent 9dc99ede91
commit d1c7042018
2 changed files with 17 additions and 17 deletions

View File

@@ -141,7 +141,7 @@ class EventDetailAPI(APIView):
for ei in event_images:
event_img = {}
event_img['is_primary'] = ei.is_primary
event_img['image'] = event_images_list.append(request.build_absolute_uri(ei.event_image.url))
event_img['image'] = request.build_absolute_uri(ei.event_image.url)
event_images_list.append(event_img)
data["images"] = event_images_list