Skip to content

Commit

Permalink
Merge pull request #2140 from coronasafe/issues/7789/fix-review-after…
Browse files Browse the repository at this point in the history
…-not-updating-for-no-review

fixes review interval not being updated for "no review"
  • Loading branch information
gigincg authored May 10, 2024
2 parents 52985ad + a57add0 commit 1cb7a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion care/facility/api/serializers/daily_round.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,8 +268,8 @@ def create(self, validated_data):
review_interval = validated_data.pop(
"consultation__review_interval"
)
validated_data["consultation"].review_interval = review_interval
if review_interval >= 0:
validated_data["consultation"].review_interval = review_interval
patient.review_time = localtime(now()) + timedelta(
minutes=review_interval
)
Expand Down

0 comments on commit 1cb7a29

Please sign in to comment.