~singpolyma/sgx-jmp

36f007c97d3aa11a20dd9297c247e0d61d1f32d1 — Stephen Paul Weber 10 months ago 613c6f8
Do not allow nil tndetails
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_repo.rb
M lib/customer_repo.rb => lib/customer_repo.rb +1 -1
@@ 165,7 165,7 @@ protected
	end

	def tndetails(sgx)
		return unless sgx.registered?
		return {} unless sgx.registered?

		LazyObject.new { @bandwidth_tn_repo.find(sgx.registered?.phone) || {} }
	end