sgx_jmp.rb 🔗
@@ -375,7 +375,7 @@ end
def find_from_and_to_customer(from, to)
(
# TODO: group text?
- to.node ? CustomerRepo.new.find_by_tel(o.node) : EMPromise.resolve(nil)
+ to.node ? CustomerRepo.new.find_by_tel(to.node) : EMPromise.resolve(nil)
).catch_only(Customer::NotFound) { nil }.then { |target_customer|
sgx_repo = target_customer ? Bwmsgsv2Repo.new : TrivialBackendSgxRepo.new
EMPromise.all([