diff --git a/app/controllers/monzo_transactions_controller.rb b/app/controllers/monzo_transactions_controller.rb index 58f25d8..f0093b2 100644 --- a/app/controllers/monzo_transactions_controller.rb +++ b/app/controllers/monzo_transactions_controller.rb @@ -91,11 +91,11 @@ def webhook @webhook = params logger.info "Webhook recieved, data: #{@webhook}" - sweepstake = "eurovision-2025" - emojis = ["🎤", "eurovision"] + sweepstake = "world-cup-2026" + emojis = ["⚽️", "football"] begin - if @webhook["type"] == "transaction.created" and emojis.include? @webhook["data"]["notes"].strip.downcase and @webhook["data"]["amount"] == 100 + if @webhook["type"] == "transaction.created" and emojis.include? @webhook["data"]["notes"].strip.downcase and @webhook["data"]["amount"] == 200 logger.info "This is a #{sweepstake} payment" payee = @webhook["data"]["counterparty"]["name"] logger.info "from #{payee}"