Skip to content

Commit 0adf398

Browse files
authored
human error while initializing the object
instead of colon the assignment operator was used.
1 parent 8fd7ef0 commit 0adf398

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/cosmos-db/sql/how-to-use-stored-procedures-triggers-udfs.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -358,9 +358,9 @@ const container = client.database("myDatabase").container("myContainer");
358358
const triggerId = "trgPreValidateToDoItemTimestamp";
359359
await container.items.create({
360360
category: "Personal",
361-
name = "Groceries",
362-
description = "Pick up strawberries",
363-
isComplete = false
361+
name : "Groceries",
362+
description : "Pick up strawberries",
363+
isComplete : false
364364
}, {preTriggerInclude: [triggerId]});
365365
```
366366

0 commit comments

Comments
 (0)