Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpeterkort committed Jul 17, 2024
1 parent 2148c7b commit c245cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongo/has_evaluator.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func convertCondition(cond *gripql.HasCondition, not bool) bson.M {
var key string
var val interface{}
key = ToPipelinePath(cond.Key)
val = cond.Value.AsInterface
val = cond.Value.AsInterface()
// Adds new behavior in float64 type casting that casts nil values to 0
if val == nil &&
cond.Condition != gripql.Condition_EQ &&
Expand Down

0 comments on commit c245cf6

Please sign in to comment.