Skip to content
Snippets Groups Projects
Commit 9353d944 authored by ko_oler's avatar ko_oler
Browse files

fix typo

parent 881409ca
No related branches found
No related tags found
No related merge requests found
......@@ -8,8 +8,7 @@ import (
)
func (id *ID) MarshalBSONValue() (bsontype.Type, []byte, error) {
data := id.String()
return bson.MarshalValue(data)
return bson.MarshalValue(id.String())
}
func (id *ID) UnmarshalBSONValue(btype bsontype.Type, data []byte) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment