mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-17 06:09:53 +05:00
Added EeSV1 APIs back
This commit is contained in:
committed by
Dan Christian Bogos
parent
f147617401
commit
a3ebbe38ec
@@ -96,9 +96,9 @@ func (eeR *ExportRequest) FieldAsString(fldPath []string) (val string, err error
|
||||
}
|
||||
|
||||
//SetFields will populate fields of AgentRequest out of templates
|
||||
func (eeR *ExportRequest) SetFields(tplFlds []*config.FCTemplate) (err error) {
|
||||
func (eeR *ExportRequest) SetFields(ctx *context.Context, tplFlds []*config.FCTemplate) (err error) {
|
||||
for _, tplFld := range tplFlds {
|
||||
if pass, err := eeR.filterS.Pass(context.TODO(), eeR.tnt,
|
||||
if pass, err := eeR.filterS.Pass(ctx, eeR.tnt,
|
||||
tplFld.Filters, eeR); err != nil {
|
||||
return err
|
||||
} else if !pass {
|
||||
|
||||
Reference in New Issue
Block a user