File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
src/content/docs/workflows/build Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -302,7 +302,8 @@ export default {
302302 params: payload
303303 });
304304
305- // ✅ Good: use a composite ID or an
305+ // ✅ Good: use an ID that is unique
306+ // e.g. a transaction ID, order ID, or task ID are good options
306307 let instanceId = getTransactionId () // e.g. assuming transaction IDs are unique
307308 // or: compose a composite ID and store it in your database
308309 // so that you can track all instances associated with a specific user or merchant.
@@ -314,8 +315,8 @@ export default {
314315 });
315316
316317 return Response .json ({
317- id: badInstance .id ,
318- details: await badInstance .status (),
318+ id: goodInstance .id ,
319+ details: await goodInstance .status (),
319320 });
320321 },
321322};
You can’t perform that action at this time.
0 commit comments