~vesto/huginn_venmo_agent

221bdcc174539d07780be619e4bb0f453608d688 — Steve Gattuso 3 years ago 02c9341 master
use interpolated token
1 files changed, 1 insertions(+), 1 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 +1 -1
@@ 80,7 80,7 @@ module Agents

        log("Requesting $#{event.payload['amount']} from #{event.payload['user_id']}")
        resp = HTTP
          .auth("Bearer #{options['venmo_token']}")
          .auth("Bearer #{interpolated['venmo_token']}")
          .post("#{API_BASE}/payments", json: {
            note: event.payload['note'],
            amount: event.payload['amount'] * -1,