From f325b5489512aa0e3061ea9e9ad9255693d44576 Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Thu, 5 Jun 2025 02:53:43 +0530 Subject: [PATCH] (fix:get_single_conversation) return attachments with filename --- application/api/user/routes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/user/routes.py b/application/api/user/routes.py index fb2caf82..f0d706e0 100644 --- a/application/api/user/routes.py +++ b/application/api/user/routes.py @@ -257,7 +257,7 @@ class GetSingleConversation(Resource): current_app.logger.error( f"Error retrieving attachment {attachment_id}: {e}", exc_info=True ) - query["attachments_metadata"] = attachment_details + query["attachments"] = attachment_details except Exception as err: current_app.logger.error( f"Error retrieving conversation: {err}", exc_info=True