Skip to content

Commit

Permalink
fix creating notifications if shifting_approving_facility is not avai…
Browse files Browse the repository at this point in the history
…lable (#2372)

Co-authored-by: Vignesh Hari <[email protected]>
  • Loading branch information
sainak and vigneshhari authored Aug 23, 2024
1 parent fd2e954 commit 3a5780f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions care/facility/api/serializers/shifting.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def update(self, instance, validated_data):

if (
"status" in validated_data
and new_instance.shifting_approving_facility is not None
and validated_data["status"] != old_status
and validated_data["status"] == 40
):
Expand Down

0 comments on commit 3a5780f

Please sign in to comment.