mirror of
https://github.com/langgenius/dify.git
synced 2026-02-27 03:45:09 +00:00
fix mypy
This commit is contained in:
@@ -215,7 +215,7 @@ class KnowledgebasePipelineFileUploadApi(DatasetApiResource):
|
||||
|
||||
if not file.filename:
|
||||
raise FilenameNotExistsError
|
||||
|
||||
|
||||
if not current_user:
|
||||
raise ValueError("Invalid user account")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user