From 9fd2e7ff141ad54284a2bb567d6229cf9ac02a8d Mon Sep 17 00:00:00 2001 From: Stephen Paul Weber Date: Tue, 2 Jan 2024 14:41:14 -0500 Subject: [PATCH] Typo --- bin/sim_job | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/sim_job b/bin/sim_job index e89dc386ebeb6a8b73d793c500cfee992f7bf2b8..d1a5e5806321a27f00617667eaca160e44987b38 100755 --- a/bin/sim_job +++ b/bin/sim_job @@ -171,7 +171,7 @@ class SimWarn include SimAction def notify - ExpiringLog.new("jmp_customer_sim_warn-#{customer.customer_id}").with do + ExpiringLock.new("jmp_customer_sim_warn-#{customer.customer_id}").with do m = Blather::Stanza::Message.new m.body = "Your SIM #{iccid} only has " \ "#{(@sim.remaining_usage_kb / 1024).to_i} MB left" @@ -197,7 +197,7 @@ class SimAnnual include SimAction def notify - ExpiringLog.new("jmp_customer_sim_annual-#{customer.customer_id}").with do + ExpiringLock.new("jmp_customer_sim_annual-#{customer.customer_id}").with do m = Blather::Stanza::Message.new m.body = "Your SIM #{iccid} only has #{@sim.remaining_days} days left" customer.stanza_to(m)