From c5b346d58ccb81335cfdcc3e4f8ca40603fff6f6 Mon Sep 17 00:00:00 2001 From: Chris Gregory Date: Wed, 3 Jan 2024 15:58:28 -0800 Subject: [PATCH] Add await to getJobPredictions in README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) ```