Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
3ed0bcef3f
commit
d59a9cc437
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue