diff --git a/README.md b/README.md index 4a99a06e..f832d828 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ const job = await client.submitJob({ console.log("Running..."); await job.awaitCompletion(); -const predictions = client.getJobPredictions(job.jobId); +const predictions = await client.getJobPredictions(job.jobId); console.log(predictions) ```