Skip to content

Commit eb9ea5d

Browse files
committed
fix close bounty logic for etc
1 parent 581f72f commit eb9ea5d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

app/dashboard/views.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5086,6 +5086,8 @@ def close_bounty_v1(request, bounty_id):
50865086

50875087
bounty.bounty_state = 'done'
50885088
bounty.idx_status = 'done' # TODO: RETIRE
5089+
bounty.is_open = False # TODO: fixup logic in status calculated property on bounty model
5090+
bounty.accepted = True
50895091
bounty.save()
50905092

50915093
response = {

0 commit comments

Comments
 (0)