From d6326295c9004ee23d876ad2c082634d16fa45c0 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 30 Jun 2021 11:08:33 -0500 Subject: [PATCH] Rename buy-credit to buy credit --- lib/command_list.rb | 2 +- sgx_jmp.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/command_list.rb b/lib/command_list.rb index 2621b86c6046edba43ef43abc1f3b02e30d77423..473cae0a862cfa94ba102bd02d03a02076343e05 100644 --- a/lib/command_list.rb +++ b/lib/command_list.rb @@ -51,7 +51,7 @@ class CommandList module HasBilling def each super - yield node: "buy-credit", name: "Buy account credit" + yield node: "buy credit", name: "Buy account credit" end end end diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 53dfb2f64134318eb7624cc17c3582e8065dd429..3fac62fdc75d0cbe00eab1175e53ced4f4b4f5d4 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -310,7 +310,7 @@ command node: [ }.catch { |e| panic(e, sentry_hub) } end -command :execute?, node: "buy-credit", sessionid: nil do |iq| +command :execute?, node: "buy credit", sessionid: nil do |iq| sentry_hub = new_sentry_hub(iq, name: iq.node) reply = iq.reply reply.allowed_actions = [:complete]