Skip to content

Commit a8f3e07

Browse files
segedaOxyjun
andauthored
Update events-and-parameters.mdx (#18328)
* Update events-and-parameters.mdx In "Pass parameters to a Workflow" example * Remove await from crypto.randomUUID() call * Remove redundant return * Redundant change to trigger GH compiles pipeline * Undoing redundant change --------- Co-authored-by: Jun Lee <[email protected]>
1 parent e0e11f8 commit a8f3e07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/events-and-parameters.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default {
4040
// Pass our event as the second parameter to the `create` method
4141
// on our Workflow binding.
4242
let instance = await env.MY_WORKFLOW.create({
43-
id: await crypto.randomUUID(),
43+
id: crypto.randomUUID(),
4444
params: someEvent
4545
});
4646

0 commit comments

Comments
 (0)