Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,14 @@ export default {
// Pass our event as the second parameter to the `create` method
// on our Workflow binding.
let instance = await env.MY_WORKFLOW.create({
id: await crypto.randomUUID(),
id: crypto.randomUUID(),
params: someEvent
});

return Response.json({
id: instance.id,
details: await instance.status(),
});

return Response.json({ result });
},
};
```
Expand Down
Loading