From 6f6af4327c4f93a6888179292d84ea83ea4cdda8 Mon Sep 17 00:00:00 2001 From: Denver Gingerich Date: Tue, 24 Jan 2017 13:41:54 +0000 Subject: [PATCH] mistakenly printed "id" param (DNE); wanted "tag" --- sgx-catapult.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sgx-catapult.rb b/sgx-catapult.rb index 2206151c45feec785806bfae4256edc7083304a3..349ff20aa0c1566235bb8b2b5eee0df790b0ab60 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -29,7 +29,7 @@ require 'goliath/api' require 'goliath/server' require 'log4r' -puts "Soprani.ca/SMS Gateway for XMPP - Catapult v0.011" +puts "Soprani.ca/SMS Gateway for XMPP - Catapult v0.012" if ARGV.size != 8 then puts "Usage: sgx-catapult.rb " + @@ -654,11 +654,11 @@ class WebhookHandler < Goliath::API msg.add_child(rcvd) when 'waiting' # can't really do anything with it; nice to know - puts "message with id #{params['id']} waiting" + puts "message with id #{params['tag']} waiting" return [200, {}, "OK"] else # TODO: notify somehow of unknown state receivd? - puts "message with id #{params['id']} has " + + puts "message with id #{params['tag']} has " + "other state #{params['deliveryState']}" return [200, {}, "OK"] end