Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Edwin Jose 2025-09-08 21:40:30 -05:00 committed by GitHub
parent 3ed0bcef3f
commit d59a9cc437
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -35,7 +35,7 @@ async def upload_user_file(
# Get user info for task management
user = getattr(request.state, "user", None)
user_id = user.user_id if user else "anonymous"
user_id = getattr(user, "user_id", "anonymous")
# Create processor for Langflow file upload
from models.processors import LangflowFileProcessor