mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
Fix exporter handling of timings slice
This commit is contained in:
committed by
Dan Christian Bogos
parent
1c69fd2022
commit
d2fabb428c
@@ -92,8 +92,8 @@ func (tpExp *TPExporter) Run() error {
|
||||
|
||||
}
|
||||
storDataModelTimings := APItoModelTimings(storDataTimings)
|
||||
for i, sd := range storDataModelTimings {
|
||||
toExportMap[utils.TimingsCsv][i] = sd
|
||||
for _, sd := range storDataModelTimings {
|
||||
toExportMap[utils.TimingsCsv] = append(toExportMap[utils.TimingsCsv], sd)
|
||||
}
|
||||
|
||||
storDataDestinations, err := tpExp.storDb.GetTPDestinations(tpExp.tpID, "")
|
||||
|
||||
Reference in New Issue
Block a user