fixed json dumping

main
Michael Meyer-Geerken 2025-09-05 17:48:34 +02:00
parent e4941a7453
commit fe70efb1f3
1 changed files with 2 additions and 2 deletions

@ -13,7 +13,7 @@ def select( id, problem):
"id": id,
"problemName": problem
}
response = requests.post(selectUrl, json=json.dumps(selectJson))
response = requests.post(selectUrl, json=selectJson)
return response.json()
def explore( id, plans):
@ -21,7 +21,7 @@ def explore( id, plans):
"id": id,
"plans": plans
}
response = requests.post(exploreUrl, json=json.dumps(exploreJson))
response = requests.post(exploreUrl, json=exploreJson)
return response.json()