mirror of
https://github.com/langgenius/dify.git
synced 2026-04-05 15:01:04 +08:00
Remove redundant parse_args call in WorkflowByIdApi.patch (#25498)
This commit is contained in:
parent
bdacc4da36
commit
4511f4f537
@ -715,7 +715,6 @@ class WorkflowByIdApi(Resource):
|
||||
raise ValueError("Marked name cannot exceed 20 characters")
|
||||
if args.marked_comment and len(args.marked_comment) > 100:
|
||||
raise ValueError("Marked comment cannot exceed 100 characters")
|
||||
args = parser.parse_args()
|
||||
|
||||
# Prepare update data
|
||||
update_data = {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user