diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-20 16:23:24 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-04-20 16:23:24 -0700 |
commit | 9bf2705cf54331dd3b5a915e206ef60a483a9ca7 (patch) | |
tree | bf4a54f6dad5f5499f1e19ca09d5a98418cca600 /fatcat | |
parent | cc85fa69262b6e937e9d675808ca779d15c6fd85 (diff) | |
download | fatcat-9bf2705cf54331dd3b5a915e206ef60a483a9ca7.tar.gz fatcat-9bf2705cf54331dd3b5a915e206ef60a483a9ca7.zip |
edit group inactive after accept
Diffstat (limited to 'fatcat')
-rw-r--r-- | fatcat/sql.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fatcat/sql.py b/fatcat/sql.py index 83c9e182..43b2c2aa 100644 --- a/fatcat/sql.py +++ b/fatcat/sql.py @@ -108,4 +108,8 @@ def accept_editgroup(eg): # update edit group state db.session.add(eg) + # no longer "active" + eg.editor.active_edit_group = None + db.session.add(eg.editor) + db.session.commit() |