Skip to content

Commit

Permalink
fix mock server
Browse files Browse the repository at this point in the history
  • Loading branch information
Qiao Qiao committed Aug 2, 2024
1 parent e37c1dc commit 3a552ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/mock_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def download(ids=""):

headers = request.headers

if not ids and request.content_type == "application/json":
if request.content_type == "application/json":
args = request.json
ids = args.get("ids")

Expand Down

0 comments on commit 3a552ea

Please sign in to comment.