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 f09fa23 commit c5b346d
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 c5b346d

Please sign in to comment.