~singpolyma/sgx-jmp

7d3dd44a269c7ec5133bc4f38b26d5ca3bcf019d — Stephen Paul Weber a month ago 7e64a55
Log the query
1 files changed, 1 insertions(+), 1 deletions(-)

M lib/customer_repo.rb
M lib/customer_repo.rb => lib/customer_repo.rb +1 -1
@@ 64,7 64,7 @@ class CustomerRepo
		Tel = Struct.new(:tel) do
			def keys(redis)
				redis.get("catapult_jid-#{tel}").then do |jid|
					raise NotFound, "No jid" unless jid.to_s =~ /\Acustomer_/
					raise NotFound, "No jid for '#{tel}'" unless jid.to_s =~ /\Acustomer_/

					JID.for(jid).keys(redis, tel: tel)
				end