~singpolyma/sgx-jmp

d6326295c9004ee23d876ad2c082634d16fa45c0 — Stephen Paul Weber 1 year, 5 months ago c29b156
Rename buy-credit to buy credit
2 files changed, 2 insertions(+), 2 deletions(-)

M lib/command_list.rb
M sgx_jmp.rb
M lib/command_list.rb => lib/command_list.rb +1 -1
@@ 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

M sgx_jmp.rb => sgx_jmp.rb +1 -1
@@ 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]