From e390dfa8a91cb09f3a5f2a4ea077ade965cd8e7e Mon Sep 17 00:00:00 2001 From: mr Date: Mon, 5 Aug 2024 08:28:37 +0200 Subject: [PATCH] exec access --- models/workflow_execution/workflow_execution_mongo_accessor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/workflow_execution/workflow_execution_mongo_accessor.go b/models/workflow_execution/workflow_execution_mongo_accessor.go index 812751e..02551c0 100644 --- a/models/workflow_execution/workflow_execution_mongo_accessor.go +++ b/models/workflow_execution/workflow_execution_mongo_accessor.go @@ -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(nil, 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