Skip to content

Commit

Permalink
Fix bug with gift ticket from admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Edge7481 committed Apr 8, 2024
1 parent 23113f9 commit 3e1ab38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/admin/tickets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def ticket_params

def gift_ticket_params
response = params.require(:ticket_purchase).permit(:user_id)
response.merge(paid: true, amount_paid: 0, conference: @conference)
response.merge(paid: true, amount_paid: 0, conference: @conference, currency: @conference.tickets.first.price_currency)
end
end
end

0 comments on commit 3e1ab38

Please sign in to comment.