Store stage ids in event particulars

This commit is contained in:
Jose Farias
2024-10-24 17:36:40 -06:00
parent 2dd719e94b
commit 3db14a117c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ module Bubble::Staged
transaction do
update! stage: new_stage
track_event event, stage_name: stage.name
track_event event, stage_id: stage.id, stage_name: stage.name
end
end
end
+1 -1
View File
@@ -2,6 +2,6 @@ module Event::Stages
extend ActiveSupport::Concern
included do
store_accessor :particulars, :stage_name
store_accessor :particulars, :stage_id, :stage_name
end
end