diff --git a/requirements.txt b/requirements.txt index 958fe33..6e1c681 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18,7 +18,7 @@ tc-messageBroker==1.6.7 sentry-sdk rq redis -tc-neo4j-lib==2.0.1 +tc-neo4j-lib==2.0.3 pybars3 backoff==2.2.1 motor==3.5.1 \ No newline at end of file diff --git a/setup.py b/setup.py index af49967..4c12d39 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="tc-analyzer-lib", - version="1.4.6", + version="1.4.7", author="Mohammad Amin Dadgar, TogetherCrew", maintainer="Mohammad Amin Dadgar", maintainer_email="dadgaramin96@gmail.com", diff --git a/tc_analyzer_lib/metrics/heatmaps/heatmaps.py b/tc_analyzer_lib/metrics/heatmaps/heatmaps.py index a0c554f..23432cf 100644 --- a/tc_analyzer_lib/metrics/heatmaps/heatmaps.py +++ b/tc_analyzer_lib/metrics/heatmaps/heatmaps.py @@ -81,7 +81,7 @@ async def start( heatmaps_results = [] index = 0 - max_index = (analytics_date - datetime.now()).days + max_index = (datetime.now() - analytics_date).days while analytics_date.date() < datetime.now().date(): start_day = analytics_date.replace( hour=0, minute=0, second=0, microsecond=0