Skip to content

Commit

Permalink
Get issue input for JSON validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mjaehn committed Feb 5, 2025
1 parent 1602a5e commit 6f59e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/validate_user_input.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ def convert_to_json(comment_body):
repo='zonda-request',
auth_token=args.auth_token)

comment = args.comment_body.replace('\\n', '\n').replace('\\r', '\r').replace('\\"', '"').replace('\\\\', '\\').replace('submit request', '').strip()
comment = validate_user_input(repo.get_issue(issue_id)).replace('\\n', '\n').replace('\\r', '\r').replace('\\"', '"').replace('\\\\', '\\').replace('submit request', '').strip()

convert_to_json(comment)

0 comments on commit 6f59e34

Please sign in to comment.