Skip to content

Commit

Permalink
fix: conflict with _ as it was already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast committed Oct 2, 2024
1 parent ad1f3e0 commit 9bb81d9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion backend/benefit/applications/api/v1/ahjo_decision_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,10 @@ def patch(self, request):
app_id = request.data["application_id"]
application = get_object_or_404(Application, id=app_id)

proposal_object, _ = AhjoDecisionProposalDraft.objects.get_or_create(
(
proposal_object,
is_created,
) = AhjoDecisionProposalDraft.objects.get_or_create( # noqa
application=application
)

Expand Down

0 comments on commit 9bb81d9

Please sign in to comment.