fixed idToObjectID with null

This commit is contained in:
Sebastian Frank 2021-08-31 19:41:24 +02:00
parent 161e3b46fb
commit 09b3faa8da

View File

@ -78,6 +78,9 @@ func convertIDValue(v reflect.Value) reflect.Value {
}
func idToObjectID(filter interface{}) {
if filter == nil {
return
}
//spew.Dump(filter)
val := reflect.ValueOf(filter)
switch reflect.TypeOf(filter).Kind() {