diff --git a/sgx_jmp.rb b/sgx_jmp.rb index f873cd2900b75d0e414f88d2b5039731d1087edd..b585d75d41b216a5e4b996f90d7889f05dc288df 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -193,7 +193,7 @@ def catchup_notify_low_balance(db) end end -def catchup_notify_possible_renewal +def catchup_notify_possible_renewal(db) db.query(<<~SQL).each do |c| SELECT customer_id FROM customer_plans INNER JOIN balances USING (customer_id)