Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion application/single_app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
EXECUTOR_TYPE = 'thread'
EXECUTOR_MAX_WORKERS = 30
SESSION_TYPE = 'filesystem'
VERSION = "0.239.007"
VERSION = "0.239.008"

SECRET_KEY = os.getenv('SECRET_KEY', 'dev-secret-key-change-in-production')

Expand Down
3 changes: 1 addition & 2 deletions application/single_app/route_backend_conversation_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from flask import Response, jsonify, request, make_response
from functions_debug import debug_print
from swagger_wrapper import swagger_route, get_auth_security
from docx import Document as DocxDocument


def register_route_backend_conversation_export(app):
Expand Down Expand Up @@ -303,8 +304,6 @@ def api_export_message_word():
message_id (str): ID of the message to export.
conversation_id (str): ID of the conversation the message belongs to.
"""
from docx import Document as DocxDocument

user_id = get_current_user_id()
if not user_id:
return jsonify({'error': 'User not authenticated'}), 401
Expand Down