Skip to content

Commit a2d2cc2

Browse files
groccoOxyjun
andauthored
[Docs Site] fix typo in rules-of-workflows.mdx (#21814)
* Update rules-of-workflows.mdx Renamed mistyped `request` (not defined) to `req` * Triggering GH compiles * Update src/content/docs/workflows/build/rules-of-workflows.mdx --------- Co-authored-by: Jun Lee <[email protected]>
1 parent 2d31287 commit a2d2cc2

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
@@ -403,7 +403,7 @@ export default {
403403
let instanceId = getTransactionId() // e.g. assuming transaction IDs are unique
404404
// or: compose a composite ID and store it in your database
405405
// so that you can track all instances associated with a specific user or merchant.
406-
instanceId = `${getUserId(request)}-${await crypto.randomUUID().slice(0, 6)}`
406+
instanceId = `${getUserId(req)}-${await crypto.randomUUID().slice(0, 6)}`
407407
let { result } = await addNewInstanceToDB(userId, instanceId)
408408
let goodInstance = await env.MY_WORKFLOW.create({
409409
id: instanceId,

0 commit comments

Comments
 (0)