Fix Getone
This commit is contained in:
@@ -18,7 +18,7 @@ func BuildGetOne(col map[string]any, report *InitReport) {
|
|||||||
// prepare input arguments and return results
|
// prepare input arguments and return results
|
||||||
in := []reflect.Type{
|
in := []reflect.Type{
|
||||||
reflect.TypeOf((*context.Context)(nil)).Elem(),
|
reflect.TypeOf((*context.Context)(nil)).Elem(),
|
||||||
reflect.TypeOf((*map[string]any)(nil)).Elem(),
|
reflect.TypeOf((*string)(nil)).Elem(),
|
||||||
}
|
}
|
||||||
out := []reflect.Type{
|
out := []reflect.Type{
|
||||||
reflect.TypeOf(bson.M{}),
|
reflect.TypeOf(bson.M{}),
|
||||||
|
|||||||
Reference in New Issue
Block a user