Add context.Context in SetCDR func signature

This commit is contained in:
ionutboangiu
2023-12-08 08:43:28 -05:00
committed by Dan Christian Bogos
parent ab26ba2d02
commit 2ccd6ca74d
4 changed files with 5 additions and 5 deletions

View File

@@ -108,7 +108,7 @@ type DataDBDriver interface {
type StorDB interface {
Storage
SetCDR(*utils.CGREvent, bool) error
SetCDR(*context.Context, *utils.CGREvent, bool) error
GetCDRs(*context.Context, []*Filter, map[string]interface{}) ([]*CDR, error)
RemoveCDRs(*context.Context, []*Filter) error
}