mirror of
https://github.com/langgenius/dify.git
synced 2026-03-28 09:30:55 +08:00
Chore: remove unreachable code (#21986)
This commit is contained in:
@ -87,7 +87,5 @@ class PluginUploadFileApi(Resource):
|
||||
except services.errors.file.UnsupportedFileTypeError:
|
||||
raise UnsupportedFileTypeError()
|
||||
|
||||
return tool_file, 201
|
||||
|
||||
|
||||
api.add_resource(PluginUploadFileApi, "/files/upload/for-plugin")
|
||||
|
||||
Reference in New Issue
Block a user