Skip to content

Commit

Permalink
remove token instantiation in child form (#863)
Browse files Browse the repository at this point in the history
Co-authored-by: abarolo <asmundbekker@DBT000435.local>
  • Loading branch information
abarolo and abarolo authored Dec 12, 2024
1 parent 5408e57 commit 54eef42
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion barriers/forms/assessments/preliminary_assessment.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class UpdatePreliminaryAssessmentForm(APIFormMixin, forms.Form):
)

def __init__(self, preliminary_assessment=None, *args, **kwargs):
self.token = kwargs.pop("token")
self.barrier = kwargs.pop("barrier")
self.preliminary_assessment = preliminary_assessment
super().__init__(*args, **kwargs)
Expand Down

0 comments on commit 54eef42

Please sign in to comment.