Skip to content

Commit

Permalink
bugfix: Add operation key and value to google task classes
Browse files Browse the repository at this point in the history
  • Loading branch information
DEENUU1 committed Jan 31, 2024
1 parent 3cd19dd commit 48a2fd5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/ai/tools/google_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ def _run(self, start_date: str):
settings.MAKE_GOOGLE_CALENDAR_CREATE_LIST_EVENT,
data={
"start_date": start_date,
"operation": "task_list"
}

)
Expand All @@ -51,6 +52,7 @@ def _run(self, event_name: str, start_date: str):
data={
"event_name": event_name,
"start_date": start_date,
"operation": "task_create"
}
)
except Exception as e:
Expand Down

0 comments on commit 48a2fd5

Please sign in to comment.