Skip to content

Commit

Permalink
Fix Cell[Un]FlagTransaction recording; was inversed
Browse files Browse the repository at this point in the history
Not even sure when this happened at this point...
  • Loading branch information
pdobb committed Feb 9, 2025
1 parent effd07d commit 68117d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/cell/toggle_flag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ def create_transaction_records
end

def transaction_class
cell.flagged? ? CellFlagTransaction : CellUnflagTransaction
cell.flagged? ? CellUnflagTransaction : CellFlagTransaction
end
end

0 comments on commit 68117d8

Please sign in to comment.