pointer of pointer is kicked out

This commit is contained in:
mr
2024-08-01 11:19:14 +02:00
parent b0f2cf46eb
commit dbbda34117
10 changed files with 25 additions and 25 deletions

View File

@@ -60,7 +60,7 @@ func (wfa workflowExecutionMongoAccessor) LoadAll() ([]utils.ShallowDBObject, in
func (wfa *workflowExecutionMongoAccessor) Search(filters *dbs.Filters, search string) ([]utils.ShallowDBObject, int, error) {
objs := []utils.ShallowDBObject{}
res_mongo, code, err := mongo.MONGOService.Search(dbs.Filters{}, wfa.GetType())
res_mongo, code, err := mongo.MONGOService.Search(nil, wfa.GetType())
if err != nil {
wfa.Logger.Error().Msg("Could not store to db. Error: " + err.Error())
return nil, code, err