fix(sms): send form confirmations to the lead number
Lead-only website forms had no person mobile, so the confirmation was marked sent without a number. Use the lead phone and send the full text. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -56,7 +56,7 @@ function testTemplate() {
|
||||
}) === 'سلام علی 0912',
|
||||
'name phone vars',
|
||||
);
|
||||
assert(clipSms('الف'.repeat(200)).length === 160, 'sms clip');
|
||||
assert(clipSms('الف'.repeat(200)).length === 200, 'sms is not clipped');
|
||||
}
|
||||
|
||||
testDelay();
|
||||
|
||||
Reference in New Issue
Block a user