Add SmsServiceLookupOnlyTest AST and migration for template_code in sms_logs
- Created a new AST JSON file for SmsServiceLookupOnlyTest.php, detailing nodes, edges, and raw calls for better code analysis. - Added a new migration (Version20260707202553) to alter the sms_logs table by adding a nullable template_code column.
This commit is contained in:
@@ -97,6 +97,7 @@ class SmsService
|
||||
|
||||
$log = new SmsLog($msg->mobile, $msg->message, $provider->getName(), $success, $msg->tag);
|
||||
if ($msg->templateUuid) $log->setTemplateUuid($msg->templateUuid);
|
||||
if ($msg->templateCode) $log->setTemplateCode($msg->templateCode);
|
||||
$this->logRepo->save($log);
|
||||
|
||||
return $success;
|
||||
|
||||
Reference in New Issue
Block a user