(feat:attach)state manage, follow camelCase

This commit is contained in:
ManishMadan2882
2025-06-06 18:54:50 +05:30
parent 3bae30c70c
commit 430822bae3
4 changed files with 18 additions and 6 deletions

View File

@@ -267,7 +267,7 @@ class GetSingleConversation(Resource):
if attachment:
attachment_details.append({
"id": str(attachment["_id"]),
"filename": attachment.get("filename", "Unknown file")
"fileName": attachment.get("filename", "Unknown file")
})
except Exception as e:
current_app.logger.error(