Skip to content

Commit 7f4c212

Browse files
skriptbleShivam010
andauthored
Update mongo/change_stream.go
cs.registry will be more generic Co-Authored-By: Shivam010 <[email protected]>
1 parent 43d9355 commit 7f4c212

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongo/change_stream.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ func (cs *changeStream) Decode(out interface{}) error {
451451
return err
452452
}
453453

454-
return bson.UnmarshalWithRegistry(cs.db.registry, br, out)
454+
return bson.UnmarshalWithRegistry(cs.registry, br, out)
455455
}
456456

457457
func (cs *changeStream) DecodeBytes() (bson.Raw, error) {

0 commit comments

Comments
 (0)