2a2047e85a8dcadf3c4f9290b5b58c2ea5daae1c — Christopher Vollick 2 years ago 1f188a7
Handle False Registration

Turns out my dummy-sgx doesn't act the same as production.
Rather than getting a successful registration with no phone, in production I
get false, so I need to handle that.
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_info.rb
M lib/customer_info.rb => lib/customer_info.rb +1 -1
@@ 16,7 16,7 @@ class CustomerInfo
		customer.registered?.then do |registration|
				plan: plan,
				tel: registration&.phone,
				tel: registration ? registration.phone : nil,
				balance: customer.balance,
				expires_at: expires_at