pointer of pointer is kicked out
This commit is contained in:
@@ -63,7 +63,7 @@ func (wfa *ResourceModelMongoAccessor) Search(filters *dbs.Filters, search strin
|
||||
},
|
||||
}
|
||||
}
|
||||
res_mongo, code, err := mongo.MONGOService.Search(*filters, wfa.GetType())
|
||||
res_mongo, code, err := mongo.MONGOService.Search(filters, wfa.GetType())
|
||||
if err != nil {
|
||||
wfa.Logger.Error().Msg("Could not store to db. Error: " + err.Error())
|
||||
return nil, code, err
|
||||
|
Reference in New Issue
Block a user