Skip to content

Commit

Permalink
fix fatal
Browse files Browse the repository at this point in the history
  • Loading branch information
stefano-ottolenghi committed Dec 11, 2023
1 parent 993a0e4 commit ded8e85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def feedback_api(event, context):
now = parser.parse(qs["date"][0])
else:
now = datetime.datetime.now().replace(day=1)
next_month = now + relativedelta(months=1)
next_month = (now + relativedelta(months=1)).month

params = {
"year": now.year,
Expand Down

0 comments on commit ded8e85

Please sign in to comment.