Skip to content

Commit 8743135

Browse files
authored
Update rules-of-workflows.mdx
1 parent 2bc4fe7 commit 8743135

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
@@ -306,7 +306,7 @@ export default {
306306
let instanceId = getTransactionId() // e.g. assuming transaction IDs are unique
307307
// or: compose a composite ID and store it in your database
308308
// so that you can track all instances associated with a specific user or merchant.
309-
let instanceId = `${getUserId(request}-${await crypto.randomUUID().slice(0, 6)}`
309+
instanceId = `${getUserId(request}-${await crypto.randomUUID().slice(0, 6)}`
310310
let { result } = await addNewInstance(userId, instanceId)
311311
let instance = await env.MY_WORKFLOW.create({
312312
id: userId,

0 commit comments

Comments
 (0)