~vesto/huginn_venmo_agent

5ef79bcfa8dfb4124c020aecffbae38b55cbf0ab — Steve Gattuso 3 years ago 343d74a
more fixes
1 files changed, 2 insertions(+), 2 deletions(-)

M lib/huginn_venmo_agents/create_venmo_transaction_agent.rb
M lib/huginn_venmo_agents/create_venmo_transaction_agent.rb => lib/huginn_venmo_agents/create_venmo_transaction_agent.rb +2 -2
@@ 70,10 70,10 @@ module Agents
        if event.payload['amount'] < 0
          error('Disallowing payment (this Agent is too new/dangerous for this to be enabled)')
          next
        elsif agent['user_id'].nil?
        elsif event.payload['user_id'].nil?
          error('Payment requires a user_id key in the calling event')
          next
        elsif agent['note'].nil?
        elsif event.payload['note'].nil?
          error('Payment requires a note key in the calling event')
          next
        end