From 56f62d17aa70997d3d263a098564130771fd4416 Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Wed, 11 Aug 2021 08:45:59 -0500 Subject: [PATCH] There might be no customer --- sgx_jmp.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 4e3837270fc96ea8cedbcdf96e4762e264fe434e..56ffe070f1d8b4f122d8fd3180c1d9eb2b900890 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -455,7 +455,7 @@ Command.new( Command.new( "alt top up", "Buy Account Credit by Bitcoin, Mail, or Interac eTransfer", - list_for: ->(customer:, **) { !!customer.currency } + list_for: ->(customer:, **) { !!customer&.currency } ) { Command.customer.then { |customer| EMPromise.all([AltTopUpForm.for(customer), customer])