~singpolyma/sgx-jmp

eb754a981da76b6588bfff195b94100635637bd0 — Stephen Paul Weber 1 year, 1 month ago 27a02de
Use CustomerRepo
1 files changed, 1 insertions(+), 1 deletions(-)

M sgx_jmp.rb
M sgx_jmp.rb => sgx_jmp.rb +1 -1
@@ 153,7 153,7 @@ EM.error_handler(&method(:panic))

def poll_for_notify(db)
	db.wait_for_notify_defer.then { |notify|
		Customer.for_customer_id(notify[:extra])
		CustomerRepo.new.find(notify[:extra])
	}.then(&LowBalance.method(:for)).then(&:notify!).then {
		poll_for_notify(db)
	}.catch(&method(:panic))