fix reveal

This commit is contained in:
24c02 2025-12-09 21:48:14 -05:00
parent 03537aeb8e
commit 61519852bd
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ module OnboardingScenarios
when "flavortown_agree" then :taste_test
when "flavortown_taste_correct" then { step: :promoted, promote: true }
when /\Aflavortown_retry_[wt]\d+\z/ then :taste_retry
when "flavortown_try_again" then :taste_retry
when "flavortown_try_again" then :taste_reveal
when /\Aflavortown_final_[wt]\d+\z/ then :taste_reveal
when /\Aflavortown_terrible_t\d+\z/ then :taste_terrible
when "flavortown_dino_nuggets" then :dino_nuggets

View file

@ -60,6 +60,7 @@ module RalseiEngine
promote_user(identity) if result[:promote]
send_step(identity, result[:step]) if result[:step]
send_message(identity, result[:template]) if result[:template]
identity.increment!(:promote_click_count, 1) if result[:promote]
end
true
@ -77,7 +78,6 @@ module RalseiEngine
end
scenario&.after_promotion
identity.increment!(:promote_click_count, 1)
Rails.logger.info "RalseiEngine: promoted #{identity.public_id}"
end