Skip to content

Commit fbda4c3

Browse files
milaGGLdlarocque
andauthored
Apply suggestion from @dlarocque
good catch Co-authored-by: Daniel La Rocque <dlarocque@google.com>
1 parent 09bc4c2 commit fbda4c3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

handwritten/firestore/dev/src/pipelines/expression.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8649,8 +8649,8 @@ export function nor(
86498649
* // Return "Active" if field "status" is 1, "Pending" if field "status" is 2,
86508650
* // and default to "Unknown" if none of the conditions are true.
86518651
* switchOn(
8652-
* equal(field("status"), 1), "Active",
8653-
* equal(field("status"), 2), "Pending",
8652+
* equal(field("status"), 1), constant("Active"),
8653+
* equal(field("status"), 2), constant("Pending"),
86548654
* "Unknown"
86558655
* )
86568656
* ```

0 commit comments

Comments
 (0)