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

@@ -141,7 +141,7 @@ func (sqls *SQLStorage) RemoveVersions(vrs Versions) (err error) {
return
}
func (sqls *SQLStorage) SetCDR(cdr *utils.CGREvent, allowUpdate bool) error {
func (sqls *SQLStorage) SetCDR(_ *context.Context, cdr *utils.CGREvent, allowUpdate bool) error {
tx := sqls.db.Begin()
if tx.Error != nil {
return tx.Error