sgx_jmp.rb 🔗
@@ -915,8 +915,7 @@ Command.new(
}.then { |response|
new_jid = response.form.field("jid").value
repo = Command.execution.customer_repo
- repo.find_by_jid(new_jid)
- .catch_only(CustomerRepo::NotFound) { nil }
+ repo.find_by_jid(new_jid).catch_only(CustomerRepo::NotFound) { nil }
.then { |cust|
next EMPromise.reject("Customer Already Exists") if cust