diff --git a/sgx-catapult.rb b/sgx-catapult.rb index 0acdf3922fa772ae90cad25adaa667ccf9c18b42..a93b59084e7bc956515d91ccee11134adb2283ec 100755 --- a/sgx-catapult.rb +++ b/sgx-catapult.rb @@ -74,8 +74,8 @@ module SGXcatapult if num_dest[0] != '+' # TODO: add text re number not (yet) supported/implmnted - write_to_stream error_msg(m.reply, m.body, :modify, - 'policy-violation') + write_to_stream error_msg(m.reply, m.body, :cancel, + 'item-not-found') next end @@ -244,8 +244,8 @@ module SGXcatapult if phone_num[0] != '+' # TODO: add text re number not (yet) supported - write_to_stream error_msg(i.reply, qn, :modify, - 'policy-violation') + write_to_stream error_msg(i.reply, qn, :cancel, + 'item-not-found') next end