We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a0a992 commit fb56d45Copy full SHA for fb56d45
jobs/python/http/job-service/app.py
@@ -37,13 +37,7 @@ def do_POST(self):
37
raw_data = self.rfile.read(content_length).decode('utf-8')
38
39
# Parse outer JSON data
40
- outer_data = json.loads(raw_data)
41
-
42
- # The payload might be double-encoded, so try parsing again if it's a string
43
- if isinstance(outer_data, str):
44
- job_data = json.loads(outer_data)
45
- else:
46
- job_data = outer_data
+ job_data = json.loads(raw_data)
47
48
# Extract value directly from the job data
49
value = job_data.get('value', '')
0 commit comments