Skip to content

Commit

Permalink
Merge pull request #32 from Elandiro/master
Browse files Browse the repository at this point in the history
SegmentConditional Value is not always a float64 but depends on the s…
  • Loading branch information
David Tai committed Dec 7, 2019
2 parents 9bf7ae5 + ed4c0df commit 8a7a5fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions segments.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ type SegmentBatchError struct {

// SegmentConditional represents parameters to filter by
type SegmentConditional struct {
Field string `json:"field"`
OP string `json:"op"`
Value float64 `json:"value"`
Field string `json:"field"`
OP string `json:"op"`
Value interface{} `json:"value"`
}

type SegmentQueryParams struct {
Expand Down

0 comments on commit 8a7a5fc

Please sign in to comment.