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