bin/process_pending_btc_transactions 🔗
@@ -169,7 +169,7 @@ class Plan
def notify_approved
sid = REDIS.get("reg-sid_for-#{@customer.id}")
- tel = REDIS.get("reg-session_tel-#{sid}").sub(/\+/, "%2B")
+ tel = REDIS.get("reg-session_tel-#{sid}")&.sub(/\+/, "%2B")
@customer.notify(
"Your JMP account has been approved. To complete " \
"your signup, click/tap here: " \