We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3099975 commit 43d9355Copy full SHA for 43d9355
mongo/change_stream.go
@@ -451,7 +451,7 @@ func (cs *changeStream) Decode(out interface{}) error {
451
return err
452
}
453
454
- return bson.UnmarshalWithRegistry(cs.coll.registry, br, out)
+ return bson.UnmarshalWithRegistry(cs.db.registry, br, out)
455
456
457
func (cs *changeStream) DecodeBytes() (bson.Raw, error) {
0 commit comments