Skip to content

Commit 2d31287

Browse files
RielJOxyjun
andauthored
Update rules-of-workflows.mdx (#19143)
* Update rules-of-workflows.mdx Fixed wrong argument passed to the create fn * Triggering GH compiles * Undo trivial commit --------- Co-authored-by: Jun Lee <[email protected]>
1 parent a8f3e07 commit 2d31287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/docs/workflows/build/rules-of-workflows.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ export default {
406406
instanceId = `${getUserId(request)}-${await crypto.randomUUID().slice(0, 6)}`
407407
let { result } = await addNewInstanceToDB(userId, instanceId)
408408
let goodInstance = await env.MY_WORKFLOW.create({
409-
id: userId,
409+
id: instanceId,
410410
params: payload
411411
});
412412

0 commit comments

Comments
 (0)