Skip to content

Commit

Permalink
Add await to getJobPredictions in README (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorybchris authored Jan 3, 2024
1 parent 3c61e2a commit 6216aab
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 6216aab

Please sign in to comment.