lib/customer_repo.rb 🔗
@@ -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
Stephen Paul Weber created
lib/customer_repo.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -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