Skip to content

Commit

Permalink
Add await to getJobPredictions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris committed Jan 3, 2024
1 parent 3c61e2a commit e100f44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
```

Expand Down

0 comments on commit e100f44

Please sign in to comment.