There might be no customer

Stephen Paul Weber created

Change summary

sgx_jmp.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Detailed changes

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])