Skip to content

Commit

Permalink
bug fix for schedule not deleting
Browse files Browse the repository at this point in the history
  • Loading branch information
labhvam5 committed Nov 27, 2023
1 parent 5cb9b05 commit 94915aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/workspaces/apis/import_settings/triggers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
schedule_fyle_attributes_creation,
schedule_tax_groups_creation,
)
from apps.mappings.schedules import schedule_or_delete_fyle_import_tasks as new_schedule_or_delete_fyle_import_tasks
from apps.workspaces.models import WorkspaceGeneralSettings


Expand Down Expand Up @@ -132,4 +133,5 @@ def post_save_mapping_settings(self, workspace_general_settings_instance: Worksp

self.__update_expense_group_settings_for_departments()

new_schedule_or_delete_fyle_import_tasks(workspace_general_settings_instance, None)
schedule_or_delete_fyle_import_tasks(workspace_general_settings_instance)

0 comments on commit 94915aa

Please sign in to comment.