unused arg

Stephen Paul Weber created

Change summary

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

Detailed changes

lib/backend_sgx.rb 🔗

@@ -57,7 +57,7 @@ class BackendSgx
 	def commands
 		iq = Blather::Stanza::DiscoItems.new(:get, COMMANDS_DISCO_NODE)
 		iq.to = ""
-		IQ_MANAGER.write(stanza(iq)).then(&:items).catch { |e|
+		IQ_MANAGER.write(stanza(iq)).then(&:items).catch {
 			[]
 		}
 	end

lib/command_list.rb 🔗

@@ -19,7 +19,7 @@ class CommandList
 			from_jid: from_jid, customer: customer,
 			tel: customer&.registered? ? customer&.registered?&.phone : nil,
 			fwd: customer&.fwd, feature_flags: customer&.feature_flags || [],
-			payment_methods: []
+			payment_methods: [], sgx_commands: []
 		}
 		return EMPromise.resolve(args) unless customer&.plan_name