diff --git a/osf/metrics/reporters/public_item_usage.py b/osf/metrics/reporters/public_item_usage.py index 42c53099587..6d111969637 100644 --- a/osf/metrics/reporters/public_item_usage.py +++ b/osf/metrics/reporters/public_item_usage.py @@ -75,7 +75,7 @@ def report(self, **report_kwargs): return None def followup_task(self, report): - _is_last_month = report.yearmonth.next() == YearMonth.from_date(datetime.date.today()) + _is_last_month = report.report_yearmonth.next() == YearMonth.from_date(datetime.date.today()) if _is_last_month: from api.share.utils import task__update_share return task__update_share.s(