diff --git a/cirq-ionq/cirq_ionq/ionq_client.py b/cirq-ionq/cirq_ionq/ionq_client.py index e225963ca78..15805a319f5 100644 --- a/cirq-ionq/cirq_ionq/ionq_client.py +++ b/cirq-ionq/cirq_ionq/ionq_client.py @@ -136,7 +136,7 @@ def create_job( def request(): return requests.post(f'{self.url}/jobs', json=json, headers=self.headers) - return self._make_request(request, {}).json() + return self._make_request(request, json).json() def get_job(self, job_id: str) -> dict: """Get the job from the IonQ API.