Rename buy-credit to buy credit

Stephen Paul Weber created

Change summary

lib/command_list.rb | 2 +-
sgx_jmp.rb          | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

Detailed changes

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

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]