Skip to content

Commit 6216aab

Browse files
Add await to getJobPredictions in README (#10)
1 parent 3c61e2a commit 6216aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const job = await client.submitJob({
5050
console.log("Running...");
5151
await job.awaitCompletion();
5252

53-
const predictions = client.getJobPredictions(job.jobId);
53+
const predictions = await client.getJobPredictions(job.jobId);
5454
console.log(predictions)
5555
```
5656

0 commit comments

Comments
 (0)