Skip to content

Commit

Permalink
excluded responsibility ids from task creation (#1131)
Browse files Browse the repository at this point in the history
* excluded responsibility ids from task creation

* exclude both assignees and responsibilities

---------

Co-authored-by: Tom Chapman <tchapman000@gmail.com>
  • Loading branch information
TomChapmanGov and tom0827 authored Oct 30, 2023
1 parent ec13dd5 commit ab7dc53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion epictrack-api/src/api/services/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def create_task_events_from_template(
@classmethod
def _prepare_task_event_object(cls, data: dict) -> dict:
"""Prepare a task event object"""
exclude = ["assignee_ids"]
exclude = ["responsibility_ids", "assignee_ids"]
return {key: data[key] for key in data.keys() if key not in exclude}

@classmethod
Expand Down

0 comments on commit ab7dc53

Please sign in to comment.