Skip to content

Commit 1e9e606

Browse files
Update src/content/docs/workers-ai/features/async-batch-api.mdx
Co-authored-by: Kevin Jain <[email protected]>
1 parent 8435e21 commit 1e9e606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workers-ai/features/async-batch-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ export default {
201201
// Parse the incoming JSON payload
202202
const data = await request.json();
203203

204-
// Validate that we have a 'prompts' array in the payload
204+
// Validate that we have a 'requests' array in the payload
205205
if (!data.requests || !Array.isArray(data.requests)) {
206206
return new Response(
207207
JSON.stringify({

0 commit comments

Comments
 (0)