From f53d04930cc4d712f103be3e836efd34395e6336 Mon Sep 17 00:00:00 2001 From: Rene Krenn Date: Tue, 1 Feb 2022 11:41:26 +0100 Subject: [PATCH] TT#155901 LGI EDR: fix exporting updateprofile events Change-Id: I79fcbda6cc21f8e501d1ac61556c5ba7f383d355 --- lib/NGCP/BulkProcessor/Projects/ETL/EDR/ExportEvents.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NGCP/BulkProcessor/Projects/ETL/EDR/ExportEvents.pm b/lib/NGCP/BulkProcessor/Projects/ETL/EDR/ExportEvents.pm index a4b17a8..f13f4c7 100644 --- a/lib/NGCP/BulkProcessor/Projects/ETL/EDR/ExportEvents.pm +++ b/lib/NGCP/BulkProcessor/Projects/ETL/EDR/ExportEvents.pm @@ -206,7 +206,7 @@ sub _get_period_event_rows { $context->{subscriber_id}, $profile_id, datetime_to_string(from_epoch($profile_events->{start}->{timestamp})), - join(",",map { datetime_to_string(from_epoch($_)); } @{$profile_events->{update}}), + join(",",map { datetime_to_string(from_epoch($_->{timestamp})); } @{$profile_events->{update}}), (defined $profile_events->{stop} ? datetime_to_string(from_epoch($profile_events->{stop}->{timestamp})) : undef), ]); }