From 9f6f9672996c66dbff384d3022b09ca8463d9ebd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Fri, 5 May 2023 18:00:25 +0200 Subject: [PATCH] v0.0.112 --- mongoext/registry.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongoext/registry.go b/mongoext/registry.go index 36038d7..f11aa34 100644 --- a/mongoext/registry.go +++ b/mongoext/registry.go @@ -11,7 +11,7 @@ func CreateGoExtBsonRegistry() *bsoncodec.Registry { rb := bsoncodec.NewRegistryBuilder() rb.RegisterTypeDecoder(reflect.TypeOf(rfctime.RFC3339Time{}), rfctime.RFC3339Time{}) - rb.RegisterTypeDecoder(reflect.TypeOf(rfctime.RFC3339Time{}), rfctime.RFC3339NanoTime{}) + rb.RegisterTypeDecoder(reflect.TypeOf(rfctime.RFC3339NanoTime{}), rfctime.RFC3339NanoTime{}) bsoncodec.DefaultValueEncoders{}.RegisterDefaultEncoders(rb) bsoncodec.DefaultValueDecoders{}.RegisterDefaultDecoders(rb)