Skip to content

Commit

Permalink
Removed unnecessary argument
Browse files Browse the repository at this point in the history
  • Loading branch information
Filienko committed Jul 4, 2024
1 parent daee18a commit 8d6f088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions isacc_messaging/api/isacc_record_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def execute_requests(self) -> Tuple[List[dict], List[dict]]:
try:
cr.status = "completed"
cr.persist()
comm_status, comm_statusReason = self.process_cr(cr, successes)
comm_status, comm_statusReason = self.process_cr(cr)
dispatched_comm = comm.change_status(status=comm_status)
audit_entry(
f"Updated status of Communication/{comm.id} to {comm_status}",
Expand Down Expand Up @@ -417,6 +417,6 @@ def execute_requests(self) -> Tuple[List[dict], List[dict]]:

return successes, errors

def process_cr(self, cr: CommunicationRequest, successes: list):
def process_cr(self, cr: CommunicationRequest):
status, statusReason = self.dispatch_cr(cr=cr)
return status, statusReason

0 comments on commit 8d6f088

Please sign in to comment.