Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
aaxelb committed Nov 22, 2024
1 parent 4fcfa3b commit b965b81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osf/metrics/reporters/public_item_usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit b965b81

Please sign in to comment.