Skip to content
This repository has been archived by the owner on Jan 3, 2025. It is now read-only.

Commit

Permalink
fix guests not being saved correctly (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
FinnIckler authored May 31, 2024
1 parent 65d83d7 commit 08c3dbb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/registration_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class RegistrationController < ApplicationController
def create
queue_url = ENV['QUEUE_URL'] || $sqs.get_queue_url(queue_name: 'registrations.fifo').queue_url
event_ids = params.dig('competing', 'event_ids')
comment = params['competing'][:comment] || ''
guests = params['competing'][:guests] || 0
comment = params.dig('competing', 'comment') || ''
guests = params['guests'] || 0
id = SecureRandom.uuid

step_data = {
Expand Down

0 comments on commit 08c3dbb

Please sign in to comment.