Skip to content

Commit

Permalink
Fix query if attribute is not present in schema, needed for unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vkuznet committed Sep 13, 2023
1 parent cc0739a commit 59d4a64
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ func adjustQuery(spec bson.M) bson.M {
}
} else {
log.Printf("WARNING: unable to find matching schema key for %s, existing schema keys %+v", kkk, _schemaKeys)
nspec[kkk] = val
}
}
if Config.Verbose > 0 {
Expand Down

0 comments on commit 59d4a64

Please sign in to comment.