Skip to content

Commit

Permalink
use const value
Browse files Browse the repository at this point in the history
  • Loading branch information
everreau authored and ajrbyers committed Jul 23, 2024
1 parent ed58904 commit 1d254f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/submission/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1515,7 +1515,7 @@ def decline_article(self):
self.date_accepted = None
self.stage = STAGE_REJECTED

self.incomplete_reviews().update(decision='withdrawn',
self.incomplete_reviews().update(decision=RD.DECISION_WITHDRAWN.value,
date_complete=timezone.now(),
is_complete=True,)
self.save()
Expand Down

0 comments on commit 1d254f3

Please sign in to comment.