Skip to content

Commit

Permalink
HOTFIX: url paramater name in /delete
Browse files Browse the repository at this point in the history
  • Loading branch information
KastanDay committed Sep 16, 2023
1 parent 0a9d074 commit 8867a51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ai_ta_backend/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ def delete():
"""
course_name: str = request.args.get('course_name', default='', type=str)
s3_path: str = request.args.get('s3_path', default='', type=str)
source_url: str = request.args.get('source_url', default='', type=str)
source_url: str = request.args.get('url', default='', type=str)

if course_name == '' or (s3_path == '' and source_url == ''):
# proper web error "400 Bad request"
Expand Down

0 comments on commit 8867a51

Please sign in to comment.