Change summary
sgx_jmp.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Detailed changes
@@ -376,7 +376,7 @@ def find_from_and_to_customer(from, to)
(
# TODO: group text?
to.node ? CustomerRepo.new.find_by_tel(to.node) : EMPromise.resolve(nil)
- ).catch_only(Customer::NotFound) { nil }.then { |target_customer|
+ ).catch_only(CustomerRepo::NotFound) { nil }.then { |target_customer|
sgx_repo = target_customer ? Bwmsgsv2Repo.new : TrivialBackendSgxRepo.new
EMPromise.all([
CustomerRepo.new(set_user: Sentry.method(:set_user), sgx_repo: sgx_repo)